discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GWorkspace seg fault


From: Fred Kiefer
Subject: Re: GWorkspace seg fault
Date: Sun, 11 Feb 2007 00:17:50 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20060911)

Enrico Sersale schrieb:
> On 2007-02-10 16:43:48 +0200 Fred Kiefer <fredkiefer@gmx.de> wrote:
> 
>>> In both the cases, it seems that there is something related with
>>> -GSReadRect: because both the apps try to create some resized imges
>>> using [NSBitmapImageRep initWithFocusedViewRect:].
>>
>> In that case you better give up using the cairo backend for GWorkspace.
>> GSReadRect: is currently not supported for this backend. I only just
>> started to add some code here. I will look into improving on this, but
>> as far as I can currently see there is no way to extract data from a
>> cairo surface with cairo 1.2.4 and I don't plan to move to a more recent
>> cairo release any time soon.
> 
> Well, I see a cairo_image_surface_get_data() in cairo-image-surface.c;
> and, in CairoGState.m, you are already using
> cairo_image_surface_get_format() passing to it a cairo_surface_t*. But
> probably I'm missing something...

Just forget my last mail. Right after I send it, I set down and tried to
figure out how cairo exposses the contents of a surface. It was a bit
complicated, but not as hard as I thought. If my network is stable I
will commit it in a minute.

Cheers,
Fred




reply via email to

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