aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-03 14:28:29 -0700
committerKenneth Graunke <[email protected]>2013-07-09 14:09:12 -0700
commit5314afa27aa8d9260ed0b0a42a6d6050313953da (patch)
tree256dc4fde466fa3b40de869aa369beecaac5ba5d /src/mesa/drivers/dri/i965/brw_context.h
parentec995de6fbafe8d6018b91ca130abac760112475 (diff)
i965: Move intel_context's framerate throttling fields to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]> Acked-by: Chris Forbes <[email protected]> Acked-by: Paul Berry <[email protected]> Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 6ca4b2eb314..f278c5302ba 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -833,6 +833,11 @@ struct brw_context
*/
bool is_front_buffer_reading;
+ /** Framerate throttling: @{ */
+ drm_intel_bo *first_post_swapbuffers_batch;
+ bool need_throttle;
+ /** @} */
+
GLuint stats_wm;
/**