1
0
Fork 0
mutter-performance-source/clutter/glx
Emmanuele Bassi a9941e9499 debug: Split debugging notes from behavioural modifiers
Some of the ClutterDebugFlags are not meant as a logging facility: they
actually change Clutter's behaviour at run-time.

It would be useful to have this distinction ratified, and thus split
ClutterDebugFlags into two: one DebugFlags for logging facilities and
another set of flags for behavioural changes.

This split is warranted because:

  • it should be possible to do "CLUTTER_DEBUG=all" and only have
    log messages on the output

  • it should be possible to use behavioural modifiers even on a
    Clutter that has been compiled without debugging messages
    support

The commit adds two new debugging flags:

  ClutterPickDebugFlags - controlled by the CLUTTER_PICK environment
                          variable

  ClutterPaintDebugFlags - controlled by the CLUTTER_PAINT environment
                           variable

The PickDebugFlags are:

  nop-picking
  dump-pick-buffers

While the PaintDebugFlags is:

  disable-swap-events

The mechanism is equivalent to the CLUTTER_DEBUG environment variable,
but it does not depend on the debug level selected when configuring and
compiling Clutter. The picking and painting debugging flags are
initialized at clutter_init() time.

http://bugzilla.openedhand.com/show_bug.cgi?id=1991
2010-02-23 14:39:23 +00:00
..
clutter-backend-glx.c debug: Split debugging notes from behavioural modifiers 2010-02-23 14:39:23 +00:00
clutter-backend-glx.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-event-glx.c glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-event-glx.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-glx-texture-pixmap.c cogl: explicitly mark cogl_<object>_ref/unref APIs as deprecated 2010-02-12 14:05:01 +00:00
clutter-glx-texture-pixmap.h 2008-06-30 Matthew Allum <mallum@openedhand.com> 2008-06-30 14:36:49 +00:00
clutter-glx.h glx: Always request an ARGB visual 2009-12-01 16:25:54 +00:00
clutter-stage-glx.c [stage] Fix some races to do with window resizing 2010-02-15 18:56:50 +00:00
clutter-stage-glx.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
Makefile.am glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00