From: Michel Dänzer Date: Tue, 18 Sep 2007 20:50:31 +0000 (+0100) Subject: intel_winsys: Disable scheduled buffer swaps for now. X-Git-Tag: 062012170305~17580^2~390^2~4095 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f0e04e0e62b853382a018cb6a69eea14e85712d;p=profile%2Fivi%2Fmesa.git intel_winsys: Disable scheduled buffer swaps for now. They don't work with private back buffers yet. This gets vsync working. --- diff --git a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c index d9adcd3..48c1f68 100644 --- a/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c +++ b/src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c @@ -496,7 +496,8 @@ intelScheduleSwap(const __DRIdrawablePrivate * dPriv, GLboolean *missed_target) drm_i915_vblank_swap_t swap; GLboolean ret; - if (!intel_fb->vblank_flags || + /* XXX: Scheduled buffer swaps don't work with private back buffers yet */ + if (1 || !intel_fb->vblank_flags || (intel_fb->vblank_flags & VBLANK_FLAG_NO_IRQ) || intelScreen->drmMinor < (intel_fb->pf_active ? 9 : 6)) return GL_FALSE;