PDA

View Full Version : OpenGL Memory Size



alexei_shk
11-06-2005, 06:44 AM
Hi,

I am showing the big view (larger then screen). When I do it larger the opengl stop showing the view.
I thing the error is the memory of video card is out of size.

1) How can I know the memory size of opengl?
2) If I am use glViewPort on part that showed in screen it low the memory size?

Thank's
Alexei

Hylke Donker
11-06-2005, 06:50 AM
Originally posted by alexei_shk:
1) How can I know the memory size of opengl?if glGetError(); gives you GL_OUT_OF_MEMORY, then you don't have enough memory to execute the command.


2) If I am use glViewPort on part that showed in screen it low the memory size?Most probably not, unless you're dealing with extreme width and/or heights.

alexei_shk
11-07-2005, 10:07 PM
Hi,

So how can I clip the image to the size of window and don't using the larger size of view?