View Full Version : Offscreen rendering into a Pixmap
06-29-2002, 02:57 PM
I need to do some offscreen rendering into a pixmap - I need this pixmap's rendering context to share display lists with my onscreen rendering contexts.
I am using gtkglarea-- for my onscreen and was going to use Gdk_GL::Context and Gdk_GL::Pixmap for my offscreen - I don't see how to share display lists across these types.
I know this is a pretty specific problem, but any help would be appreciated.
I read somewhere that this feature is (was?) broken in Mesa. You should only have to give the other context in the call to glXCreateContext.
07-01-2002, 05:13 AM
Thanks for the response - which feature are you referring to? I figured out how to share the lists across those types (I'm not making any calls directly to glx - that's why I couldn't figure it out), but my application is hanging on a call to glIsList() !! Any ideas? I'm sharing DLs all over the place, but never between an onscreen and offscreen context (until now).
The "feature" I was refering to is sharing between OpenGL contexts. I think it was this message that I remembered http://groups.google.com/groups?q=mesa+l...other.de&rnum=1 (http://groups.google.com/groups?q=mesa+linux+share+%22comp.graphics.api.ope ngl%22&hl=en&lr=&ie=UTF-8&oe=UTF8&safe=off&as_qdr=m3&selm=3CE9D1A2.794F7551%40hergenrother.de&rnum=1)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.