[Mesa-dev] [RFC] Gallium proper glFinish

Jerome Glisse j.glisse at gmail.com
Thu Mar 31 11:43:36 PDT 2011

On Thu, Mar 31, 2011 at 2:40 PM, Jerome Glisse <j.glisse at gmail.com> wrote:
> Hi,
> 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.
> Cheers,
> Jerome

Okay i missed the code that is already there and that use the fence
stuff. So never mind.


More information about the mesa-dev mailing list