OpenGL Memory Size

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

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.
  1. 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.

Hi,

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