discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GSOC 2013 final update


From: Ivan Vučica
Subject: Re: GSOC 2013 final update
Date: Thu, 31 Oct 2013 03:35:02 +0100

Hi Johannes,

Sadly that's the state of affairs. I didn't dig deep, but I presume the issue is with drawing all into a bitmap cgcontext and then drawing that into the X11 cgcontext. That messes with fonts, and there is color conversion code in Opal that Eric can probably comment on better than I can. The backend may be creating a backing cgbitmapcontext that is not optimally adapted to the target x11 cgcontext...

Generally the backend does as little as possible (and opal itself as well; it's as thin wrapper around Cairo as possible, wherever that is possible), and if you hack the backend to turn off the backing bitmap context it's much faster. Sadly, gui really wants and needs a way to copy image rectangles from a gstate to another gstate -- something sadly only possible in core graphics if the source context is a bitmap context... 

Ideally it should be faster to blit an image than to redraw a region, so the always-backing schema should be better. Sadly, that does not seem to be so.

Regards,

Ivan Vučica
via phone

On 30 Oct 2013, at 05:24, "Lundberg, Johannes" <johannes@brilliantservice.co.jp> wrote:

Hi Ivan

Good job on the Opal backend :) 

I just tried it on FreeBSD 10 and rendering seems perfect but extremely slow compared to cairo backend. Am I doing something wrong or it is the way it should be at this stage?

Best Regards


--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.


On Wed, Sep 25, 2013 at 6:34 AM, Ivan Vučica <ivan@vucica.net> wrote:
Hi all,

I've taken another quick look at the blogpost and I noticed a formatting issue that may have also cropped a small portion of the text. Sorry about that; it's been fixed.

On Tue, Sep 24, 2013 at 10:34 PM, Fred Kiefer <fredkiefer@gmx.de> wrote:

I just gave this another try and it takes me back to the early days of
the Windows backend. And with early days I mean the initial
implementation from 2002.

I presume that is a bad thing -- and understandably so. As noted in the blogpost, I'm not too happy with many things. But at least most of the things are recognizable...

On Tue, Sep 24, 2013 at 10:44 PM, Gregory Casamento <greg.casamento@gmail.com> wrote:
Very cool!!!!  Awesome!  I'm going to start looking at this asap!  Congratulations, this is wonderful.  Good work!

Greg

Thanks for the kind words! :-)

--
Ivan Vučica

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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