After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332372 - GTK needs to provide API for themes to draw directly on cairo context
GTK needs to provide API for themes to draw directly on cairo context
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-02-23 21:09 UTC by John McCutchan
Modified: 2010-12-22 20:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John McCutchan 2006-02-23 21:09:44 UTC
By allowing themes to draw on a passed in cairo context, mozilla can render native widgets must faster.

See http://lists.freedesktop.org/archives/cairo/2006-February/006402.html for discussion.
Comment 1 Thomas Wood 2008-02-14 21:32:49 UTC
I don't think this is possible without breaking the current theme API, so this would probably have to wait until a new major release of GTK+.
Comment 2 John McCutchan 2008-02-14 21:54:11 UTC
Or, introduce a new theme API that doesn't suck and deprecate the old one. Even better, have new widgets not support the old theme API and draw nothing at all.
Comment 3 Sven Herzberg 2008-03-10 11:02:50 UTC
I'm going to look into providing the current theming features for a cairo context during GTK+ Hackweek.
Comment 4 Matthias Clasen 2010-12-22 20:56:35 UTC
GtkStyleContext addresses this.