News for hackers. Stuff that matters.
Re:Why did Windows 7 log on slower for months if you had a s... by ryandrake on Tuesday April 29, 2025 @03:19PM (#43836854)
Maybe I'm still living in the 1990s, but isn't the graphics API call to paint a solid 2D rectangle infinitely faster than the call to blt a 2D image to the screen, with possible arbitrary scaling and clipping? Or is everything just natively textures now and we don't even have 2D drawing hardware?
Re:Why did Windows 7 log on slower for months if you had a s... by anthk on Tuesday April 29, 2025 @07:39PM (#43839379)
The second.
Re:Why did Windows 7 log on slower for months if you had a s... by MindSpunk on Wednesday April 30, 2025 @02:38AM (#43841926)
No, not really. Everything is just rasterized triangles now, but whether they're textured or not is up to the shader your using.

A non-textured triangle will be faster than a textured one as it can just return a literal in the pixel shader instead of wasting time sampling a texture for each pixel.

However a single texture sample is so cheap on modern hardware that a specialized path for solid colors wouldn't be worth the complexity in a 2D setting. It's fast enough.