summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_fbo.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-08-08 09:29:46 -0700
committerEric Anholt <eric@anholt.net>2012-10-16 13:13:44 -0700
commitddfa346e4a685269c576714eb0b14fd23d748217 (patch)
treedfb4327c3a7c440cc356b93711ca089a5501d030 /src/mesa/drivers/dri/intel/intel_fbo.h
parent4bec2e31bfb6aad5b3af16f463211e51d1e67217 (diff)
downloadexternal_mesa3d-ddfa346e4a685269c576714eb0b14fd23d748217.zip
external_mesa3d-ddfa346e4a685269c576714eb0b14fd23d748217.tar.gz
external_mesa3d-ddfa346e4a685269c576714eb0b14fd23d748217.tar.bz2
i965: Make a helper function for the renderbuffer temporary mt workaround.
We now have a case of wanting to do that on gen6+ as well, so make this logic usable elsewhere. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h
index 3db80de..9ae961e 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.h
+++ b/src/mesa/drivers/dri/intel/intel_fbo.h
@@ -197,6 +197,9 @@ bool
intel_renderbuffer_resolve_depth(struct intel_context *intel,
struct intel_renderbuffer *irb);
+void intel_renderbuffer_move_to_temp(struct intel_context *intel,
+ struct intel_renderbuffer *irb);
+
unsigned
intel_quantize_num_samples(struct intel_screen *intel, unsigned num_samples);