mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
clutter: Demote CLUTTER_NOTE to g_debug in clutter-stage-cogl.c
This code is being shuffled out of Clutter code, so cut the ties with it before doing that. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1862>
This commit is contained in:
parent
5785d8cde0
commit
c58909dc0f
@ -90,7 +90,7 @@ enum
|
|||||||
static void
|
static void
|
||||||
clutter_stage_cogl_unrealize (ClutterStageWindow *stage_window)
|
clutter_stage_cogl_unrealize (ClutterStageWindow *stage_window)
|
||||||
{
|
{
|
||||||
CLUTTER_NOTE (BACKEND, "Unrealizing Cogl stage [%p]", stage_window);
|
g_debug ("Unrealizing Cogl stage [%p]", stage_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -98,7 +98,7 @@ clutter_stage_cogl_realize (ClutterStageWindow *stage_window)
|
|||||||
{
|
{
|
||||||
ClutterBackend *backend;
|
ClutterBackend *backend;
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "Realizing stage '%s' [%p]",
|
g_debug ("Realizing stage '%s' [%p]",
|
||||||
G_OBJECT_TYPE_NAME (stage_window),
|
G_OBJECT_TYPE_NAME (stage_window),
|
||||||
stage_window);
|
stage_window);
|
||||||
|
|
||||||
@ -284,9 +284,7 @@ swap_framebuffer (ClutterStageWindow *stage_window,
|
|||||||
/* push on the screen */
|
/* push on the screen */
|
||||||
if (n_rects > 0 && !swap_with_damage)
|
if (n_rects > 0 && !swap_with_damage)
|
||||||
{
|
{
|
||||||
CLUTTER_NOTE (BACKEND,
|
g_debug ("cogl_onscreen_swap_region (onscreen: %p)", onscreen);
|
||||||
"cogl_onscreen_swap_region (onscreen: %p)",
|
|
||||||
onscreen);
|
|
||||||
|
|
||||||
cogl_onscreen_swap_region (onscreen,
|
cogl_onscreen_swap_region (onscreen,
|
||||||
damage, n_rects,
|
damage, n_rects,
|
||||||
@ -295,8 +293,7 @@ swap_framebuffer (ClutterStageWindow *stage_window,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CLUTTER_NOTE (BACKEND, "cogl_onscreen_swap_buffers (onscreen: %p)",
|
g_debug ("cogl_onscreen_swap_buffers (onscreen: %p)", onscreen);
|
||||||
onscreen);
|
|
||||||
|
|
||||||
cogl_onscreen_swap_buffers_with_damage (onscreen,
|
cogl_onscreen_swap_buffers_with_damage (onscreen,
|
||||||
damage, n_rects,
|
damage, n_rects,
|
||||||
@ -311,8 +308,7 @@ swap_framebuffer (ClutterStageWindow *stage_window,
|
|||||||
clutter_stage_view_cogl_get_instance_private (view_cogl);
|
clutter_stage_view_cogl_get_instance_private (view_cogl);
|
||||||
NotifyPresentedClosure *closure;
|
NotifyPresentedClosure *closure;
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "fake offscreen swap (framebuffer: %p)",
|
g_debug ("fake offscreen swap (framebuffer: %p)", framebuffer);
|
||||||
framebuffer);
|
|
||||||
|
|
||||||
closure = g_new0 (NotifyPresentedClosure, 1);
|
closure = g_new0 (NotifyPresentedClosure, 1);
|
||||||
closure->view = view;
|
closure->view = view;
|
||||||
@ -499,8 +495,7 @@ clutter_stage_cogl_redraw_view_primary (ClutterStageCogl *stage_cogl,
|
|||||||
if (!clutter_damage_history_is_age_valid (view_priv->damage_history,
|
if (!clutter_damage_history_is_age_valid (view_priv->damage_history,
|
||||||
buffer_age))
|
buffer_age))
|
||||||
{
|
{
|
||||||
CLUTTER_NOTE (CLIPPING,
|
g_debug ("Invalid back buffer(age=%d): forcing full redraw",
|
||||||
"Invalid back buffer(age=%d): forcing full redraw\n",
|
|
||||||
buffer_age);
|
buffer_age);
|
||||||
use_clipped_redraw = FALSE;
|
use_clipped_redraw = FALSE;
|
||||||
}
|
}
|
||||||
@ -572,7 +567,7 @@ clutter_stage_cogl_redraw_view_primary (ClutterStageCogl *stage_cogl,
|
|||||||
cairo_region_union (fb_clip_region, old_damage);
|
cairo_region_union (fb_clip_region, old_damage);
|
||||||
}
|
}
|
||||||
|
|
||||||
CLUTTER_NOTE (CLIPPING, "Reusing back buffer(age=%d) - repairing region: num rects: %d\n",
|
g_debug ("Reusing back buffer(age=%d) - repairing region: num rects: %d",
|
||||||
buffer_age,
|
buffer_age,
|
||||||
cairo_region_num_rectangles (fb_clip_region));
|
cairo_region_num_rectangles (fb_clip_region));
|
||||||
|
|
||||||
@ -617,7 +612,7 @@ clutter_stage_cogl_redraw_view_primary (ClutterStageCogl *stage_cogl,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CLUTTER_NOTE (CLIPPING, "Unclipped stage paint\n");
|
g_debug ("Unclipped stage paint");
|
||||||
|
|
||||||
paint_stage (stage_cogl, view, redraw_clip);
|
paint_stage (stage_cogl, view, redraw_clip);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user