mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
meta/stage-impl: Add trace span to paint_damage_region
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
parent
752632276d
commit
3c27b75f2f
@ -145,6 +145,9 @@ paint_damage_region (ClutterStageWindow *stage_window,
|
|||||||
graphene_matrix_t transform;
|
graphene_matrix_t transform;
|
||||||
int n_rects, i;
|
int n_rects, i;
|
||||||
|
|
||||||
|
COGL_TRACE_BEGIN_SCOPED (PaintDamageRegion,
|
||||||
|
"Meta::StageImpl::paint_damage_region()");
|
||||||
|
|
||||||
cogl_framebuffer_push_matrix (framebuffer);
|
cogl_framebuffer_push_matrix (framebuffer);
|
||||||
clutter_actor_get_transform (actor, &transform);
|
clutter_actor_get_transform (actor, &transform);
|
||||||
cogl_framebuffer_transform (framebuffer, &transform);
|
cogl_framebuffer_transform (framebuffer, &transform);
|
||||||
|
Loading…
Reference in New Issue
Block a user