From 5314afa27aa8d9260ed0b0a42a6d6050313953da Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 3 Jul 2013 14:28:29 -0700 Subject: i965: Move intel_context's framerate throttling fields to brw_context. Signed-off-by: Kenneth Graunke Acked-by: Chris Forbes Acked-by: Paul Berry Acked-by: Anuj Phogat --- src/mesa/drivers/dri/i965/brw_context.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa/drivers/dri/i965/brw_context.h') 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; /** -- cgit v1.2.3