gallium: add a pipe_context parameter to fence_finish
authorMarek Olšák <marek.olsak@amd.com>
Sat, 6 Aug 2016 14:41:42 +0000 (16:41 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 9 Aug 2016 23:11:10 +0000 (01:11 +0200)
commit54272e18a682c8b82d4a86b2c07b51c303d8cead
treec9c0ac7ad2fb4144ebeb9c7851eaa19a8103973c
parentc6043e7d54fc48771856a50235f9141b711151f3
gallium: add a pipe_context parameter to fence_finish

required by glClientWaitSync (GL 4.5 Core spec) that can optionally flush
the context

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
39 files changed:
src/gallium/docs/source/context.rst
src/gallium/drivers/ddebug/dd_draw.c
src/gallium/drivers/ddebug/dd_screen.c
src/gallium/drivers/freedreno/freedreno_fence.c
src/gallium/drivers/freedreno/freedreno_fence.h
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/ilo/ilo_screen.c
src/gallium/drivers/llvmpipe/lp_flush.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/rbug/rbug_screen.c
src/gallium/drivers/softpipe/sp_fence.c
src/gallium/drivers/softpipe/sp_flush.c
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/swr/swr_context.cpp
src/gallium/drivers/swr/swr_draw.cpp
src/gallium/drivers/swr/swr_fence.cpp
src/gallium/drivers/swr/swr_fence.h
src/gallium/drivers/swr/swr_query.cpp
src/gallium/drivers/swr/swr_screen.cpp
src/gallium/drivers/swr/swr_state.cpp
src/gallium/drivers/trace/tr_screen.c
src/gallium/drivers/vc4/vc4_fence.c
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/include/pipe/p_screen.h
src/gallium/state_trackers/clover/core/event.cpp
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/glx/xlib/xm_api.c
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/vdpau/presentation.c
src/gallium/state_trackers/xa/xa_context.c
src/gallium/state_trackers/xvmc/surface.c
src/mesa/state_tracker/st_cb_flush.c
src/mesa/state_tracker/st_cb_syncobj.c