Archived

This topic is now archived and is closed to further replies.

ptl

Display lists and Video RAM

Recommended Posts

ptl    157
Hi all, How can I know when I create a display list if it has been created in VRAM or in RAM ? I tried to compare available RAM before and after with GlobalMemoryStatus but I got strange results (more RAM available after creating the DL sometimes !!) I someone knows a way to do this please tell me. ptl

Share this post


Link to post
Share on other sites
Metal Typhoon    122
hum... i know when u do glNewList() it also calls glError() and if it return Gl_OUT_OF_MEMORY well you know.. but to check the memory try to use the memory class. MEMORYSTATUS.CLS. i found on msdn online that u can do

MemoryLoad
TotalPhysical
AvailablePhysical
TotalPageFile
AvailablePageFile
TotalVirtual
AvailableVirtual

Share this post


Link to post
Share on other sites