On Thu, Mar 31, 2011 at 2:40 PM, Jerome Glisse <j.gli...@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. Cheers, Jerome _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev