RFC: Disable cairo-gl backend in F27

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

 



Apologies that this is just after the system-wide change deadline
(thanks for putting that on a holiday btw), but I hadn't had a chance
to dig into this before now and I think it's fairly low impact.

Cairo's OpenGL backend is not especially well maintained or widely
used, and cairo gets linked into literally every gtk process on the
system, so it's a bit expensive to have libGL loaded 80 times and never
used. As far as I can work out we enabled the backend in 2012-ish
because some of the wayland demos wanted it, but they no longer do.

Indeed the API itself does not seem to have very many users in F26:

                 U cairo_gl_device_set_thread_aware
                 U cairo_gl_surface_create
                 U cairo_gl_surface_create_for_window
                 U cairo_gl_surface_swapbuffers
./cairo-1.14.10-1.fc26.x86_64/usr/bin/cairo-sphinx
                 U cairo_gl_surface_create
                 U cairo_gl_surface_create_for_texture
                 U cairo_gl_surface_get_height
                 U cairo_gl_surface_get_width
                 U cairo_gl_surface_set_size
                 U cairo_gl_surface_swapbuffers
./rubygem-cairo-1.15.9-1.fc26.x86_64/usr/lib64/gems/ruby/cairo-1.15.9/cairo.so
                 U cairo_gl_device_set_thread_aware
                 U cairo_gl_surface_create_for_texture
                 U cairo_gl_surface_get_height
                 U cairo_gl_surface_get_width
./webkitgtk-2.4.11-5.fc26.x86_64/usr/lib64/libwebkitgtk-1.0.so.0.22.17
                 U cairo_gl_device_set_thread_aware
                 U cairo_gl_surface_create_for_texture
                 U cairo_gl_surface_get_height
                 U cairo_gl_surface_get_width
./webkitgtk3-2.4.11-5.fc26.x86_64/usr/lib64/libwebkitgtk-3.0.so.0.22.17

cairo-sphinx is a cairo replay tool for regression testing, and can
just be rebuilt without GL support. The two webkitgtk packages are dead
in F27. That just leaves rubygem-cairo, whose cairo-gl support also
appears to be optional.

I'm not aware of any ruby gems that explicitly require cairo-gl to
work, but I also don't know how i'd even begin to search for that. I
also haven't checked this against any external repositories yet.

Does this sound like a reasonable plan? Does this sound like a "self-
contained" change?

- ajax
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux