[PATCH 2/2] prime: Don't lose SourceValidate on PixmapSyncDirtyHelper no-ops

2015-04-05 Thread Chris Wilson
We need to ignore the SourceValidate callback when copying across framebuffer pixels to slaved scanouts so that the swcursor and such is copied across (otherwise the swcursor SourceValidate would restore the pristine frontbuffer hiding the cursor in the slaves). However, we need to remember to put

[PATCH 1/2] Xv: Only stop the adaptors when the Pixmap is finally destroyed

2015-04-05 Thread Chris Wilson
Pixmaps are reference counted and DestroyPixmap is called for the removal of every reference. However, we only want to stop the adaptors writing into the Pixmap just before the Pixmap is finally destroyed, similar to how Windows are handled. Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk