Re: How to determine maximum frame buffer size?

Michael I Gold <[email protected]> Tue, 21 Feb 2006 07:12:22 -0800
Newsgroups gmane.games.devel.opengl
Organization Fat City Network Services, San Diego, California
Message-ID <[email protected]>
Robin Charlton wrote:

>EnumDisplaySettings does indeed return the available display resolutions and refresh frequencies. But OpenGL is *window* rather than display based and windows can be resized larger than the display. 
>  
>
It doesn't really make sense to think of it like this - what good is 
rendering to part of a window that is offscreen?  The behavior is 
undefined and its just wasting resources as some implementations will 
clip rendering to the display anyway. If you want to support panning you 
are better off doing this in the app instead of depending on the window 
system.

If your desire is to render to a large offscreen surface, check out 
framebuffer objects or pbuffers.  The former is preferred; the latter is 
deprecated.