mirror of
https://github.com/brl/mutter.git
synced 2024-12-04 05:40:41 -05:00
Add a Cogl debug flag for BITMAP
CoglBitmap will soon want to report notes as it gets more complicated so this adds a debug flag for it.
This commit is contained in:
parent
b780413e5a
commit
7eb0d01f9f
@ -52,7 +52,8 @@ static const GDebugKey cogl_log_debug_keys[] = {
|
|||||||
{ "pango", COGL_DEBUG_PANGO },
|
{ "pango", COGL_DEBUG_PANGO },
|
||||||
{ "show-source", COGL_DEBUG_SHOW_SOURCE},
|
{ "show-source", COGL_DEBUG_SHOW_SOURCE},
|
||||||
{ "offscreen", COGL_DEBUG_OFFSCREEN },
|
{ "offscreen", COGL_DEBUG_OFFSCREEN },
|
||||||
{ "texture-pixmap", COGL_DEBUG_TEXTURE_PIXMAP }
|
{ "texture-pixmap", COGL_DEBUG_TEXTURE_PIXMAP },
|
||||||
|
{ "bitmap", COGL_DEBUG_BITMAP }
|
||||||
};
|
};
|
||||||
static const int n_cogl_log_debug_keys =
|
static const int n_cogl_log_debug_keys =
|
||||||
G_N_ELEMENTS (cogl_log_debug_keys);
|
G_N_ELEMENTS (cogl_log_debug_keys);
|
||||||
|
@ -52,7 +52,8 @@ typedef enum {
|
|||||||
COGL_DEBUG_DISABLE_GLSL = 1 << 21,
|
COGL_DEBUG_DISABLE_GLSL = 1 << 21,
|
||||||
COGL_DEBUG_SHOW_SOURCE = 1 << 22,
|
COGL_DEBUG_SHOW_SOURCE = 1 << 22,
|
||||||
COGL_DEBUG_DISABLE_BLENDING = 1 << 23,
|
COGL_DEBUG_DISABLE_BLENDING = 1 << 23,
|
||||||
COGL_DEBUG_TEXTURE_PIXMAP = 1 << 24
|
COGL_DEBUG_TEXTURE_PIXMAP = 1 << 24,
|
||||||
|
COGL_DEBUG_BITMAP = 1 << 25
|
||||||
} CoglDebugFlags;
|
} CoglDebugFlags;
|
||||||
|
|
||||||
#ifdef COGL_ENABLE_DEBUG
|
#ifdef COGL_ENABLE_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user