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" > <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 >>> <[email protected]> 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 >> [email protected] >> >> _______________________________________________ >> Discuss-gnustep mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/discuss-gnustep >
_______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
