asynchronous / interruptible OSMesa render using glFenceSync: is it possible?
Frédéric Devernay <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using OSMesa to render large shaders, and would like to be able to interrupt the OSMesa render before it is finished, e.g. when there is user interaction. The OpenGL way to do this is to use glFenceSync/glClientWaitSync but glFenceSync blocks until llvmpipe is flushed and glClientWaitSync always returns GL_ALREADY_SIGNALED on OSMesa, without executing anything. Besides, many commands in OSMesa are blocking and cause an immediate render, such as glUseProgram(0) or glPopAttrib(). Is there any way to do what I want to achieve, i.e. pipe all my commands and then wait for the render to finish with a timeout? Fred -- Frédéric Devernay, Research Scientist, INRIA [email protected] _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users