aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915tex/intel_tris.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-02-15 16:30:40 +0100
committerMichel Dänzer <[email protected]>2007-02-20 19:15:44 +0100
commit6b99cafd69a791d03ce749d0fd2b9f59ca265677 (patch)
tree67b2f1d25ebbff406343ff01cb19dea2e07e4c2b /src/mesa/drivers/dri/i915tex/intel_tris.c
parentaf64dd2ae0aa31261002335f10d46492000f552b (diff)
i915tex: Support page flipping on both CRTCs independently.
No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows.
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/intel_tris.c')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_tris.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_tris.c b/src/mesa/drivers/dri/i915tex/intel_tris.c
index 4e0ca70c1ec..9ac8c32f600 100644
--- a/src/mesa/drivers/dri/i915tex/intel_tris.c
+++ b/src/mesa/drivers/dri/i915tex/intel_tris.c
@@ -102,15 +102,7 @@ intelStartInlinePrimitive(struct intel_context *intel,
/* _mesa_printf("%s *", __progname); */
- if (intel->flip_pending) {
- /* Wait for a pending flip to take effect */
- BEGIN_BATCH(2, batch_flags);
- OUT_BATCH(MI_WAIT_FOR_EVENT | MI_WAIT_FOR_PLANE_A_FLIP);
- OUT_BATCH(0);
- ADVANCE_BATCH();
-
- intel->flip_pending = GL_FALSE;
- }
+ intel_wait_flips(intel, batch_flags);
/* Emit a slot which will be filled with the inline primitive
* command later.