Handle indirect rendering with GLX
GoogleCodeExporter opened this issue · comments
Currently the Context constructor is hard-coded to create direct rendering
contexts. This will cause an Xlib error handler to be invoked if direct
rendering is not possible the specified pixel format (Visual/GLXFBConfig).
Try to detect pixel formats that can be used with direct rendering, perhaps
by creating a dummy context with direct rendering = false and glXIsDirect
to see if the context is actually direct.
Although indirect rendering is slow, supporting software rendering and over
the network rendering is a nice feature. Also, the Xlib error handler
crashes are very ugly.
Original issue reported on code.google.com by maililis...@gmail.com
on 13 Aug 2009 at 11:43
Added a constructor parameter for direct/indirect rendering and Context::direct
as a
wrapper for glXIsDirect.
Original comment by maililis...@gmail.com
on 25 Aug 2009 at 3:25
- Changed state: Fixed