meta/stage-impl: Add trace span to redraw_view_primary
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
parent
72bbb1416e
commit
5669ee2dc3
@ -518,6 +518,9 @@ meta_stage_impl_redraw_view_primary (MetaStageImpl *stage_impl,
|
|||||||
int fb_width, fb_height;
|
int fb_width, fb_height;
|
||||||
int buffer_age = 0;
|
int buffer_age = 0;
|
||||||
|
|
||||||
|
COGL_TRACE_BEGIN_SCOPED (RedrawViewPrimary,
|
||||||
|
"Meta::StageImpl::redraw_view_primary()");
|
||||||
|
|
||||||
clutter_stage_view_get_layout (stage_view, &view_rect);
|
clutter_stage_view_get_layout (stage_view, &view_rect);
|
||||||
fb_scale = clutter_stage_view_get_scale (stage_view);
|
fb_scale = clutter_stage_view_get_scale (stage_view);
|
||||||
fb_width = cogl_framebuffer_get_width (fb);
|
fb_width = cogl_framebuffer_get_width (fb);
|
||||||
|
Loading…
Reference in New Issue
Block a user