src/mesa/drivers/dri/intel/intel_batchbuffer.c |   11 +++++++++++
 1 file changed, 11 insertions(+)

commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary

New commits:
commit bb73cf9ec093d734cbed956d843ef6c2982141ef
Author: Kristian Høgsberg <[EMAIL PROTECTED]>
Date:   Tue Jan 15 10:23:15 2008 -0500

    [i915] Prevent recursive batchbuffer flushing.
    
    Workaround for recursive batchbuffer flushing: If the window is
    moved, we can get into a case where we try to flush during a
    flush.  What happens is that when we try to grab the lock for
    the first flush, we detect that the window moved which then
    causes another flush (from the intel_draw_buffer() call in
    intelUpdatePageFlipping()).  To work around this we reset the
    batchbuffer tail pointer before trying to get the lock.  This
    prevent the nested buffer flush, but a better fix would be to
    avoid that in the first place.

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to