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 609350 - Mutter does not support the COGL_DEBUG environment variable
Mutter does not support the COGL_DEBUG environment variable
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-08 18:04 UTC by Neil Roberts
Modified: 2010-02-12 11:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add the group from cogl_get_option_group() to the GOptionContext (956 bytes, patch)
2010-02-08 18:07 UTC, Neil Roberts
committed Details | Review

Description Neil Roberts 2010-02-08 18:04:15 UTC
Cogl has some handy debugging features that are separate from Clutter's. Mutter calls clutter_get_option_group_without_init which only returns the options from Clutter so the COGL_DEBUG environment variable doesn't work.
Comment 1 Neil Roberts 2010-02-08 18:07:36 UTC
Created attachment 153280 [details] [review]
Add the group from cogl_get_option_group() to the GOptionContext

Otherwise it's not possible to use the COGL_DEBUG environment variable.
Comment 2 Owen Taylor 2010-02-08 18:12:16 UTC
Review of attachment 153280 [details] [review]:

Looks fine, if pretty bizarre that the workingness of the environment variable is a side-effect of parsing the command line option group... :-)
Comment 3 Tomas Frydrych 2010-02-12 11:43:29 UTC
Committed as bd90fd7033b9af6d25fbc4fcd64f3ec1a5843c56.