> Of course, it looks amazing. Especially for the Control Sequence polygons > in Non-DAW and the Ambisonics panners in Non-Mixer, as they're quite curvy. > It is indeed slightly slower (but I expected that because it's still going > through FLTK's double buffer).
Cool. Screenshots at all? (Before/after, just to emphasise the advantages etc. would be really neat...) > However, when I dig into the FLTK code to look for a place to install this > permanently, I find a bizarre mess of #if defined(USE_X11) type junk. What > is the point of having different classes that inherit from Fl_Graphics_Driver > if you're just going to implement everything in the base class using > conditional compilation? History. Most of the code, in particular a lot of the ifdefs, predate the graphics driver abstraction, and so the code is still working its way to becoming clean. It's a work in progress. But it is getting there... > Would it not be infinitely more sane to have > Fl_Xlib_Graphics_Driver.cxx and Fl_Quartz_Graphics_Driver.cxx (and now > Fl_Cairo_Graphics_Driver.cxx) instead of trying to blend them all into a > single class? Yes. See above. > You can still conditionally compile whole files, you know, and > it is far easier to read and maintain that way. I wanted to just make a copy > of Xlib graphics driver and start swapping in the cairo calls, but, due to the > strangeness of the Fl_Graphics_Device hierarchy, it doesn't look like it's > going > to be that easy. I think it may actually be less weird than it looks; that is, I think the historic file hierarchy obscures things and makes it look less organised than it really is... For new work, having a driver-layer per-file must surely be a cleaner separation. > I'm open to suggestions, especially if you guys ever want to > merge this into the mainline. Looks like my nice clean 1 hour hack is going to > turn into several days of reorganizing the hierarchy. I think you need, if possible, to liaise with the people doing the graphics driver abstraction, get them to outline how it is supposed to work, and see if that makes sense for you. I think there were docs posted about this, but, erm, I can't find them now... I wasn't really paying attention. Manolo knows how it works, so he might be best? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
