gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnustep-cvs] r33849 - in /libs/back/trunk: ChangeLog Source/cairo/C


From: Fred Kiefer
Subject: Re: [Gnustep-cvs] r33849 - in /libs/back/trunk: ChangeLog Source/cairo/CairoContext.m
Date: Mon, 19 Sep 2011 12:37:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.22) Gecko/20110907 SUSE/3.1.14 Thunderbird/3.1.14

On 19.09.2011 08:49, Riccardo Mottola wrote:
Sorry, I was premature to commit that; I was hoping to work on it
yesterday but didn't have time, so 'll revert it for now.

I did some testing with Riccardo and we found that using
XGCairoSurface (so using cairo xlib surfaces) did indeed fix the
problem he was observing.

By switching to XGCairoSurface we get:
- much better drawing performance for X over ssh (tested)
- potentially better drawing performance overall (not tested, but
reported on the cairo mailing list)
- better font rendering (subpixel antialiasing support)
- support for running on X servers only supporting 16-bit visuals,
whereas XGCairoXImageSurface fails completely
- delegate more work to cairo and rely less on XWindowBuffer (e.g.
cairo handles shared memory)
Indeed. Essentially one of the objections that was made to
XGCairoSurface was transparent windows on non-32bit displays.

My main development workstation is 32bit capable but is set as default
to 24bit. The same is true for my laptop.

I am able to get the opacity test in GSTest for both surface types on
24bit. (I can't get the same compositing effect to work with the alpha
channel of NSColor in neither cases).

So essentially, I found no problems on 24bit and on 16bit the situation
improved a lot. Most probably without image caching it would have worked.

Eric still hoped to find a buffer which would abstract the depth level,
but apparently art doesn't use that either.

Did you have any problems with XGCairoSurface, Fred?

No, and I never said so. I just wanted to know the reason why Eric made a commit he had argued against. I am working with 32 bit visuals and things are OK either way on my machine.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]