|
|
My main comment is that I think "region" is part of the rendering, and you don't seem to have the Cairo version. It may also be ok to scrap support for regions that are not rectangles.
I also feel that part of this would be to make it use Cairo for both X11 and Wayland, and scrap all xlib drawing and especially any API to get at them. This will also remove the need to have server-side offscreen buffers which are completely obsolete and never used by any other software. Cairo (and Windows and Mac) can draw into local memory buffers and these should be used.
El 29/3/22 a las 14:27, Manolo
escribió:
Here is a complete proposal for a hybrid Wayland/X11 FLTK
library ready for release with FLTK 1.4,
along the line sketched by Albrecht above.
It's available in branch wayland of
It contains support for an environment variable FLTK_BACKEND
to pilot what is used at run-time:
- if FLTK_BACKEND is undefined, the library uses wayland if
available and x11 otherwise;
- if FLTK_BACKEND = wayland, the library uses Wayland if
possible and exits with error otherwise;
- if FLTK_BACKEND = x11, the library uses X11 even if
Wayland is available;
- if FLTK_BACKEND has another value, the library exits with
an error message.
It contains also function fl_disable_wayland(), to
be called early in main(), to force an app to use
X11 without using the FLTK_BACKEND variable, as Albrecht
suggested.
Great work, Manolo!
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/5d50a22e-beb0-99e6-37c1-34d54267533b%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CAL-8oAg-D1tp6xTzSbPgiJ9YJe3X8nvePwPmkoVRvxGe2bxhwA%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |