[SDL] OpenGL offscreen confusion

Bob Pendleton bob at pendleton.com
Thu Sep 18 07:49:01 PDT 2003


On Wed, 2003-09-17 at 20:47, oberon wrote:
> I'm trying to find a portable way to draw to an offscreen area with 
> openGL. I'd think this would be easy...but it's not. As far as I can tell, 
> there are entirely different implementations on every platform, and some 
> don't even seem to use the various (and window-manager specific?) openGL 
> extensions.
> 
> The reason I'm sending this to the SDL mailing list is that, unless 
> someone can enlighten me on a crossplatform offscreen buffer solution, it 
> seems like it would be a good addition to SDL.
> 
> Comments/criticism would be appreciated, I can't figure out what the 
> hell's going on (there's no really good documentation on this sort of 
> thing, oddly).
> 
> --oberon

According to a recent thread here cross platform pbuffer support is
being added to SDL. Hopefully Sam will pop in and give you more details.
But, you migth try looking at the archive and looking in the CVS code
for it.

AFAIK pbuffers are pretty much the only solution to the problem. 

Hope that helps,

		Bob Pendleton



> 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
-- 
+-----------------------------------+
+ Bob Pendleton: independent writer +
+ and  programmer.                  +
+ email:    Bob at Pendleton.com       +
+ web:      www.GameProgrammer.com  +
+-----------------------------------+





More information about the SDL mailing list