On Mon, Apr 4, 2016 at 2:43 PM, Rob Clark <robdcl...@gmail.com> wrote: > Hmm, what are the requirements of eglClientWaitSyncKHR() about having > current context bound? Not being thread-safe (ie. being associated w/ > current ctx) is pretty important to allow apps that create fences at > in-opportune times to not force a mid-frame flush for tilers.. :-(
There are 2 kinds of fences already: - owned by pipe_screen: pipe_fence_handle - owned by pipe_context: PIPE_QUERY_GPU_FINISHED I think the latter is what you want. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev