Originally posted by intelfx
View Post
So when you click with your mouse on the screen you have to do some work to find out which window is there...
Now I think it's something like this, since they already have the graphics of the windows from the actual drawing-windows part, they...
- setup a special "image"
- paint each window from the back to the front on top of each other
- but not the contents but just the shape filled with a different color each
- read the pixel under the mouse and see what color that was
- look up which window they painted with that color
Except for the benefits of _not_ doing this anymore mentioned in the article it should also save you some VRAM I guess?
Leave a comment: