On Thu, Jul 23, 2009 at 3:51 PM, Roderick Colenbranderthunderbird2k@gmail.com wrote:
Hi,
For some weeks I have been working on moving more 2D rendering to XRender. XRender has three advantages for Wine. First of all it allows us to perform more rendering operations using X which we previously did using a combination of software rendering and back-forth copying between the Xserver. Second XRender offers depth conversion (this gives us proper alpha support in Wine and allows us to bypass DIB color conversion in some cases!). Third XRender brings us more hardware acceleration and that way more performance.
The patch attached to this thread adds support for dibsections in additional color depths. On Xservers running at 24-bit this patch offers us dibsections in 1-bit/15-bit/16-bit/24-bit/32-bit. (32-bit is for proper alpha support) Big parts of the Wine X11 Driver make assumptions about having only two color depths around (1-bit and screen_depth e.g. 24-bit). I would like to request that people apply the current patch to latest git (in combination with the Office2007 patch which I posted to wine-patches). Please report any 2D rendering issues you see and also mention possible Wine crashes due to X errors like BadMatch. Try as much programs as possible.
Thanks in advance, Roderick Colenbrander
http://austinenglish.com/logs/appinstall-xrender/summary.txt Launching gimp-splash.png-1.0 (RGB, 1 layer) 275x400 – GIMP failed. Test failed.
That test launches the gimp 2.6 trying to open it's splash image.
Terminal output:
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 56 (X_ChangeGC) Serial number of failed request: 19348 Current serial number in output stream: 19352
(file-png.exe:36): LibGimpBase-WARNING **: file-png.exe: gimp_wire_read(): error
(script-fu.exe:32): LibGimpBase-WARNING **: script-fu.exe: gimp_wire_read(): error