Faster window resize in a composite manager
Dennis Kasprzyk
onestone at opencompositing.org
Tue Oct 16 05:54:29 PDT 2007
Hi,
I've implemented my idea from my "Idea how to fix slow window resize in a
composited desktop" post. My patches add a new function
XCompositeSetWindowPixmapSize to Xcomposite. The compositing manager can use
this function to set the window pixmap to the desired size, and the xserver
will not change the pixmap and it's size during a resize. If
XCompositeSetWindowPixmapSize is called with 0/0 as size, the xserver
switches back to it's current pixmap handling and resizes the current pixmap
back to the window size.
The compiz patches add the functionality to compiz to use the new function.
Theses patches to compiz are only a prove of concept and are there a some
things that need to be optimized in compiz with this new function.
I've seen a great resize speed improvement (still not as fast as without
compiz) with the nvidia binary driver and got also positive feedback from
tests with the intel driver.
Dennis Kasprzyk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiz-resize-with-composite-0.5.patch
Type: text/x-diff
Size: 2419 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071016/6ce91183/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xserver-composite-0.5.patch
Type: text/x-diff
Size: 4951 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071016/6ce91183/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libXcomposite-0.5.patch
Type: text/x-diff
Size: 1903 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071016/6ce91183/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compositeproto-0.5.patch
Type: text/x-diff
Size: 2388 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071016/6ce91183/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiz-support-different-pixmap-size.patch
Type: text/x-diff
Size: 2486 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071016/6ce91183/attachment-0004.patch>
More information about the xorg
mailing list