[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cairo xlib surface (was: Re: Linux-x86-64 and cairo crash)
From: |
Eric Wasylishen |
Subject: |
Re: cairo xlib surface (was: Re: Linux-x86-64 and cairo crash) |
Date: |
Tue, 13 Sep 2011 21:35:56 -0600 |
> Three possible solutions I can think of are:
> 1.
> - fix NSImage so if NSWindow's with alpha can't be created, it won't try to
> cache images with alpha channels in windows.
> - use XGCairoSurface regardless of the available visuals, so windows may or
> may not support alpha channels depending on the X server.
>
> 2. use XGCairoSurface if the server supports 32-bit visuals, otherwise use
> XGCairoXImageSurface. This means we have to deal with two possible code paths
> chosen at runtime, though.
>
> 3. just leave the code as-is and always use XGCairoXImageSurface.
>
> I think I prefer the first solution, but I'm not sure.
Replying to myself… just noticed apple's docs promise that an
NSBackingStoreBuffered window will have an alpha channel, so my proposal 1)
wouldn't work.
- Re: Linux-x86-64 and cairo crash, (continued)
- Re: Linux-x86-64 and cairo crash, Fred Kiefer, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Riccardo Mottola, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Fred Kiefer, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Eric Wasylishen, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Philippe Roussel, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Fred Kiefer, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Eric Wasylishen, 2011/09/12
- Re: Linux-x86-64 and cairo crash, Fred Kiefer, 2011/09/13
- Re: Linux-x86-64 and cairo crash, Wolfgang Lux, 2011/09/13
- cairo xlib surface (was: Re: Linux-x86-64 and cairo crash), Eric Wasylishen, 2011/09/13
- Re: cairo xlib surface (was: Re: Linux-x86-64 and cairo crash),
Eric Wasylishen <=
- Re: cairo xlib surface, Fred Kiefer, 2011/09/14
- Re: Linux-x86-64 and cairo crash, Riccardo Mottola, 2011/09/15
- Re: Linux-x86-64 and cairo crash, Wolfgang Lux, 2011/09/15
- Re: Linux-x86-64 and cairo crash, Eric Wasylishen, 2011/09/15
- Re: Linux-x86-64 and cairo crash, Riccardo Mottola, 2011/09/15
Re: Linux-x86-64 and cairo crash, Riccardo Mottola, 2011/09/13