
Chapter
19
Memory Management
The majority of the discussion in this book about resource management has to do
with data that is transferred to video memory to be used by the graphics system.
This data includes vertex and index buffers, vertex and shader programs, and texture
images. Memory management in video memory is the responsibility of the graphics
drivers. Whether the data resides in video memory or in accelerated graphics port
(AGP) memory is up to the drivers to decide, although you might be allowed to pro-
vide hints about where to store items based on how frequently you plan on modifying
those items. On the other hand, system memory is your