Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Video RAM problem???

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 Demon Lord   Members   

122
Like
Likes
Like

Posted 29 April 2000 - 08:31 AM

Does OpenGL frees video RAM when an app is done ? It seems that a terrible problem sucks up all the video RAM of a GeForce when I try my app. It happens since I tried textures, so I suppose it is the problem. I tried to free the VRAM myself, but I ain''t sure I do it the right way. Tips? Eric Laberge

#2 drago   Members   

150
Like
Likes
Like

Posted 29 April 2000 - 09:11 AM

When you glGenTextures() you must also glDeleteTextures(), ofcourse.

GLuint nTex[10];

glGenTextures(10, nTex);
glDeleteTextures(10, nTex);

----------
Drago

#3 drago   Members   

150
Like
Likes
Like

Posted 29 April 2000 - 09:13 AM

Note that when you keep on creating new textures with OpenGL, if your high performance memory (Video Ram) is depleted, OpenGL will create the textures in low performance memory (System Ram).

----------
Drago

#4 Mezz   Members   

571
Like
Likes
Like

Posted 29 April 2000 - 09:36 AM

Yeah, JohnC commented on that a while back - if you have 14mb textures on a 12mb card, OpenGL pulls all the textures (14mb) through system RAM, not just the 2mb overflow. This kills performance.

-Mezz




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.