[cairo] cairo-xlib-surface.c:402: _swap_ximage_to_native:Assertion
`NOT_REACHED' failed.
Carl Worth
cworth at cworth.org
Tue Nov 21 12:33:11 PST 2006
On Tue, 21 Nov 2006 10:46:03 -0800, "Daniel Amelang" wrote:
> Yes, but the issue is not the color depth, it's the bits per pixel. It
> is common to have 24-bit depth, yes, but less so to have 24bpp. Cairo
> is broken on X Servers that use 24bpp for Pixmaps, but it works fine
> on 32bpp servers that have 24-bit color depth.
I wouldn't be very surprised to learn that that is the case.
> At least that is my understanding. I'm a little concerned that Carl or
> Keith hasn't chimed in to give a more authoritative response.
I haven't tested it at all, so you're already speaking from a more
authoritative position I think. :-)
As far as the idea of converting when transferring to/from the X
server, I think that's what the patches here do (originally written
for the 8bpp case):
Cairo doesn't have 8-bit pseudocolor support
https://bugs.freedesktop.org/show_bug.cgi?id=4945
I honestly haven't looked at the issue close enough to made a
judgement call on whether those patches are in the right direction or
not. I'd be glad to hear opinions from people here, (as well as
results from testing these patches for the 24-bpp problem in this
thread).
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061121/81045887/attachment.pgp
More information about the cairo
mailing list