Indeed, replacing Cairo as the default (and documenting that Opal should be installed before -back for best results) is probably the best way to go for the future. Something like this would be required to properly integrate CA, too; otherwise, -lockFocus would have to be used and any painting done in the current CG context would be applied before or after painting done with -lockFocus (which is probably incorrect).
Expanding use of Opal will be a good way to uncover any lingering bugs. A few of them are currently listed (and #ifdef'd) inside quartzcore's code, and I'll make a list at some point documenting them. On 18. 7. 2012., at 15:17, Gregory Casamento wrote: > I just confirmed with David that Opal doesn't currently integrate with > GNUstep. What's required, I believe, is an Opal based GNUstep > backend so that the Opal context and the NSGraphicsContext are > compatible and can be interchanged (like under Cocoa). > > If we do this, it might be a good idea to make the Opal backend > replace the Cairo backend as the default, if and only if opal is > available. We want to make certain that people aren't forced to use > Opal unless they want to. > > This way the backend order would go like this: > > Opal, if available, if not then... > Cairo, if available, if not then... > Art, if available, if not then... > Xlib, if available, if not then... > OH WELL! > > That seems reasonable to me. ;) > > GC > > On Wed, Jul 18, 2012 at 9:04 AM, Stefan Bidi <[email protected]> wrote: >> On Wed, Jul 18, 2012 at 7:34 AM, Gregory Casamento >> <[email protected]> wrote: >>> I'm just asking when I can use opal to render to an NSView in GUI. :) >>> Is this currently possible? >> >> Oh... I have no idea. That would be up to Eric, I guess. Corebase >> just tries to implement CoreFoundation, nothing else. Even then, it >> is still lacking major functionality like CFBundle, CFRunLoop and >> CFXML. I wanted to get a release out and see if I could get a few >> more folks interested. > > > > -- > Gregory Casamento > Open Logic Corporation, Principal Consultant > yahoo/skype: greg_casamento, aol: gjcasa > (240)274-9630 (Cell) > http://www.gnustep.org > http://heronsperch.blogspot.com > > _______________________________________________ > 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
