[Mesa-dev] [RFC] Gallium proper glFinish
j.glisse at gmail.com
Thu Mar 31 11:40:41 PDT 2011
There is a need for a by the spec glFinish in gallium, right now as
far as i gather it calls the flush callback and swap/copy region if
necessary but it doesn't wait until the full completion (as the gl
spec imply if i am not miss reading). So i would like to add a new
callback to struct pipe_context :
void (*finish)( struct pipe_context *pipe);
Driver would have to make sure that the GPU is done and things are
flushed. Any thought on this ?
Btw other solution might be using the flush callback with a fence and
then wait for the fence in gallium finish.
More information about the mesa-dev