GNOME Bugzilla – Bug 354860
OpenGL backend for Pango
Last modified: 2018-05-22 12:21:59 UTC
There's a patch out there, lets open a tracker bug!
http://mail.gnome.org/archives/gtk-i18n-list/2006-July/msg00002.html http://data.plan9.de/pango.png
It occured to me that one can implement a glyph cache in cairo's glitz backend instead of inventing a new pango module.
Compare and contrast: http://svn.o-hand.com/view/clutter/trunk/clutter/clutter/pango/ Behdad, what are your current thoughts towards the requirements for a OpenGL backend? Does Pango need one? Can it share code or link against glitz?
(In reply to comment #3) > Compare and contrast: > http://svn.o-hand.com/view/clutter/trunk/clutter/clutter/pango/ Any idea why they had to implement their own? Oh I think I remember, because pango's ft2 backend doesn't support color. > Behdad, what are your current thoughts towards the requirements for a OpenGL > backend? Does Pango need one? Can it share code or link against glitz? I was thinking that the right approach is to just fix cairo's glitz backend and don't touch pango. pangocairo is the way to go. Any other backend is deprecated and falls behind as pango goes forward.
[6 years later...] the Pango renderer in Clutter was moved down to Cogl, and it's essentially just a special PangoRenderer that stores the glyphs in a textured cache and submits the correct geometry through GL to the GPU: http://git.gnome.org/browse/cogl/tree/cogl-pango in the meantime: the glitz backend for Cairo is thoroughly deprecated (don't even think it's there any more) and Cairo has a GL and a GLES backends. the reason why we don't just use cairo-gl and and pangocairo is that we set up our own state in Cogl, and swapping out to another GL-using library may trump that state and cause performance degradation. to be fair, I'd gladly use PangoCairo and cairo-gl, and drop Cogl-Pango (and I'm pretty sure the Cogl maintainers agree), but it's something that has to be investigated still.
gtk does something similar now
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/56.