summaryrefslogtreecommitdiff
path: root/src/intel_dri.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-07-29 18:31:48 -0400
committerOwain G. Ainsworth <oga@openbsd.org>2010-09-12 03:14:54 +0100
commit171561be017d3d68b5a8258d95531265ec2af093 (patch)
tree097ae953c384ca603c6884d1f91d0d319b1f1618 /src/intel_dri.c
parent149781cb12eb3e35d216d87bda1d8771db1ae6e8 (diff)
Submit batch buffers from flush callback chain
There are a few cases where the server will flush client output buffers but our block handler only catches the most common (before going into select). If the server flushes client buffers before we submit our batch buffer, the client may receive a damage event for rendering that hasn't happened yet. Instead, we can hook into the flush callback chain, which the server will invoke just before flushing output. This lets us submit batch buffers before sending out events, preserving ordering. Fixes 28438: [bisected] incorrect character in gnome-terminal under compiz https://bugs.freedesktop.org/show_bug.cgi?id=28438 Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Owain G. Ainsworth <oga@openbsd.org> (Cherry picked from commit 69d65f9184006eac790efcff78a0e425160e95aa)
Diffstat (limited to 'src/intel_dri.c')
0 files changed, 0 insertions, 0 deletions