st/xorg: Add a function to flush pending rendering and damage
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 24 Nov 2010 14:15:42 +0000 (15:15 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 24 Nov 2010 14:23:10 +0000 (15:23 +0100)
commit0b1c0460a0ec52a7bff7887022f080d85228a658
tree398ce16b3ca61f2e2ae0547f42b31558ba5926d2
parent1f4c55128b7e4a2aa08600ae9338071a97cee8fa
st/xorg: Add a function to flush pending rendering and damage

This is needed to properly sync with host side rendering. For example,
make sure we flush colorkey painting before updating the overlay.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/state_trackers/xorg/xorg_tracker.h