Not necessarily. They're textures, and just like textures in games, they can get uploaded to the vidmem. When making changes, you must change the texture, whether in sysmem or vidmem. Possibly (but I'm no gfx developer, so I may be wrong), it's even better to change in sysmem (especially when also having to read mem since reading vidmem is very slow) and then blit the entire thing to vidmem (letting the card do that via DMA of course).zaleschiemilgabriel wrote:With 3D hardware support those buffers are in video memory, so it's fast.
Always go with buffers, unless you're short in memory (in embedded systems and the like, but you won't have that many windows in that case anyway). The whole update rectangle direct drawing thing is as legacy as legacy can get, in the days Win 3.1 had to run in 2Mb of main memory with 128Kb of non-accelerated vidmem.That's what I was trying to say. Go with buffers if you plan on using 3d hardware.
JAL