FS#56580 - [cairo] Bring back cairo-gl

Attached to Project: Arch Linux
Opened by Constantine (Hi-Angel) - Tuesday, 05 December 2017, 02:33 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 05 December 2017, 21:05 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

I wanted to compare performance of glx vs egl through "caskbench", but it fails to compile. Upon closer research turned out "cairo/cairo-gl-h" have actually been earlier in cairo package (I'm being told by pkgfile with outdated database), but then disappeared.

Unfortunately I updated pkgfile, so I can't tell when it worked; however by looking cairo's PKGBUILD, the reason most likely "--disable-gl" option to configure.

version: 1.15.8-2
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 05 December 2017, 21:05 GMT
Reason for closing:  Won't implement
Comment by Jan de Groot (JGC) - Tuesday, 05 December 2017, 19:17 GMT
the gl backend is experimental and disabled by default. I don't see any reason to enable the backend in our repository package.
Comment by Constantine (Hi-Angel) - Tuesday, 05 December 2017, 20:14 GMT
Okay, it would make sense — I didn't see in the changelog explanation why cairo-gl was disabled. Anyway, how do you know it's experimental? By looking at this file https://cgit.freedesktop.org/cairo/tree/configure.ac I don't see any mention of that.
Comment by Constantine (Hi-Angel) - Tuesday, 05 December 2017, 20:17 GMT
By the way, I could also understand a desire to stick to package defaults, however cairo-gl is disabled explicitly in PKGBUILD.
Comment by Constantine (Hi-Angel) - Tuesday, 05 December 2017, 21:02 GMT
Ok, I asked on #cairo channel, they said, quoting

> (05.12.2017 22:57:38) Hi-Angel: Is cairo-gl still an experimental backend?
> (05.12.2017 23:32:33) ebassi: Yes
> (05.12.2017 23:34:10) ebassi: TO be fair, anything that is not in the [cairo-image, cairo-xlib, cairo-pdf, cairo-svg] set is an "experimental" backend; cairo-win32 and cairo-quartz are also (moderately) tested by GTK

So, well… I can understand why to have it disabled, though I still don't see why to have it disabled explicitly as opposed to sticking to ./configure defaults.
Comment by Jan de Groot (JGC) - Tuesday, 05 December 2017, 21:04 GMT
The readme file states that OpenGL is experimental.

Besides that:
OpenGL: no (disabled, use --enable-gl to enable)
OpenGL ES 2.0: no (disabled, use --enable-glesv2 to enable)

You're free to compile cairo with GL enabled yourself, but we won't provide it.

Loading...