Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Video RAM problem???


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   -  Reputation: 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

Sponsor:

#2 drago   Members   -  Reputation: 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   -  Reputation: 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   -  Reputation: 570

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.



PARTNERS