3 ms·
> I really just want to put pixels on the screen and work my way up from there That really isn't how modern, accelerated graphics works - even 2D accelerated g
by zozbot123 8y ago
> I really just want to put pixels on the screen and work my way up from there
That really isn't how modern, accelerated graphics works - even 2D accelerated graphics! "Sprites" are slightly closer to the mark, but it goes far beyond that.
- bluedino 8y agoThe PC never had sprites
- zozbot123 8y agoIf you're using a decent graphics driver, the mouse pointer is a sprite.
- vardump 8y agoThe entire framebuffer can be thought of as a huge sprite. Modern RAMDACs can scan multiple overlapping arbitrarily sized framebuffers (layers) simultaneously, while doing bilinear filtering, merging alpha, colorspace conversion, rotation, LUT, etc. All that happens on the fly without intermediary frame buffer composition in between. The output goes directly to the display (over HDMI, eDP/displayport, DVI, etc.). Yeah, and of course mouse cursor is a sprite in the traditional sense. Although on modern HW you could implement mouse cursor as a hardware layer.
- ekianjo 8y agoIsnt the mouse pointer actually a hardware layer in most OSes nowadays?
- kazinator 8y agoWhat's the difference? Size? If a hardware layer could be configured to be 32x32 pixels and offset to any position, wouldn't it become a sprite?
- vardump 8y agoYeah, it is. Sprite originally meant a hardware layer, back from the ancient times. Nowadays it also sometimes means rasterized 2D objects. C64, Amiga, MSX, NES, SNES, Sega Master System, etc. all supported hardware layer sprites back in the eighties.