-
Chris Wilson authored
In the case of an exported pixmap, e.g. with DRI3, it is possible for the client to render into the pixmap whilst we are unaware. To serialise the xserver and the client, we flush all operations on exported pixmaps before talking to the client. In the case of COW however, we did not flush the copy-on-write when transferring control to the client, and thereby we could capture the modified contents. Bugzilla: https://bugs.kde.org/show_bug.cgi?id=340202 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90836 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
ada30742