Created attachment 16790 [details] [review]
CopySubBuffer damage fix.
Compiz uses MesaCopySubBuffer to do partial screen updates. The damage that is created by this function to update the right screen region during randr rotation is wrong. The attached patch converts the y coordinate from gl coordinates to xserver coordinates to fix this problem.
Author: Dennis Kasprzyk <email@example.com>
Date: Thu May 29 11:24:16 2008 +0200
Report correct damage rectangle in CopySubBuffer.