clutter/stage: Pass redraw clip instead of extents when painting view
That's the struct we have ready, the callee can just call cairo_region_get_extents() if it only cares about the extents rectangle. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1042
This commit is contained in:
@ -232,6 +232,7 @@ get_pixel (CoglFramebuffer *fb,
|
||||
static void
|
||||
view_painted_cb (ClutterStage *stage,
|
||||
ClutterStageView *view,
|
||||
cairo_region_t *redraw_clip,
|
||||
gpointer data)
|
||||
{
|
||||
CoglFramebuffer *fb = clutter_stage_view_get_framebuffer (view);
|
||||
|
Reference in New Issue
Block a user