[Mesa-users] asynchronous / interruptible OSMesa render using glFenceSync: is it possible?
Frédéric Devernay
frederic.devernay at inria.fr
Tue May 10 11:13:24 UTC 2016
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
frederic.devernay at inria.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20160510/adf897e6/attachment.html>
More information about the mesa-users
mailing list