gallium: add flush_resource context function
authorMarek Olšák <marek.olsak@amd.com>
Fri, 20 Sep 2013 13:08:29 +0000 (15:08 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 20 Sep 2013 18:35:55 +0000 (20:35 +0200)
commit419cd5f2a24b87d31a2fd9dd9b7d0025b4f5515c
tree517df295a28d5fc0f0542de5e6f2552886b32e5b
parentd2bd63433a252c84488023e9877e70d69223da42
gallium: add flush_resource context function

r600g needs explicit flushing before DRI2 buffers are presented on the screen.

v2: add (stub) implementations for all drivers, fix frontbuffer flushing
v3: fix galahad

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
23 files changed:
src/gallium/docs/source/context.rst
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/galahad/glhd_context.c
src/gallium/drivers/i915/i915_surface.c
src/gallium/drivers/identity/id_context.c
src/gallium/drivers/ilo/ilo_blit.c
src/gallium/drivers/llvmpipe/lp_surface.c
src/gallium/drivers/noop/noop_pipe.c
src/gallium/drivers/nouveau/nv30/nv30_miptree.c
src/gallium/drivers/nouveau/nv30/nv30_resource.c
src/gallium/drivers/nouveau/nv30/nv30_resource.h
src/gallium/drivers/nouveau/nv50/nv50_surface.c
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/radeonsi/r600_blit.c
src/gallium/drivers/rbug/rbug_context.c
src/gallium/drivers/softpipe/sp_surface.c
src/gallium/drivers/svga/svga_pipe_blit.c
src/gallium/drivers/trace/tr_context.c
src/gallium/include/pipe/p_context.h
src/gallium/state_trackers/dri/common/dri_drawable.c
src/gallium/state_trackers/dri/drm/dri2.c