View Single Post
Old 09-23-07, 12:50 PM   #5
NVIDIA Corporation
AaronP's Avatar
Join Date: Mar 2005
Posts: 2,487
Default Re: Window resizing _very_ slow with compiz

It's not the allocation that's slow. After allocating the new pixmap, the server copies pixels from the parent window into the new pixmap. For 7.2 and earlier, this used XCopyArea but this turned out to be a security problem for certain windows, so they switched to the RENDER extension's Composite call instead for 7.3. Since pixmaps start out in sysmem by default, this falls back to software *every single time the window is resized*.
AaronP is offline   Reply With Quote