Renamed to flush_surface_damage().
Change-Id: Iaeab80b3b620edd4abf138a95c61054bdd6eadee
}
static void
-drm_output_flush_surface(void *o, pepper_surface_t *surface)
+drm_output_flush_surface_damage(void *o, pepper_surface_t *surface)
{
pepper_renderer_flush_surface_damage(((drm_output_t *)o)->renderer, surface);
}
drm_output_assign_planes,
drm_output_repaint,
drm_output_attach_surface,
- drm_output_flush_surface,
+ drm_output_flush_surface_damage,
};
static int
}
static void
-fbdev_output_flush_surface(void *o, pepper_surface_t *surface)
+fbdev_output_flush_surface_damage(void *o, pepper_surface_t *surface)
{
pepper_renderer_flush_surface_damage(((fbdev_output_t *)o)->renderer, surface);
}
fbdev_output_assign_planes,
fbdev_output_repaint,
fbdev_output_attach_surface,
- fbdev_output_flush_surface,
+ fbdev_output_flush_surface_damage,
};
static pepper_bool_t
void (*assign_planes)(void *output, const pepper_list_t *view_list);
void (*repaint)(void *output, const pepper_list_t *plane_list);
void (*attach_surface)(void *output, pepper_surface_t *surface, int *w, int *h);
- void (*flush_surface)(void *output, pepper_surface_t *surface);
+ void (*flush_surface_damage)(void *output, pepper_surface_t *surface);
};
PEPPER_API pepper_output_t *
pepper_view_surface_damage(view);
pepper_list_for_each(output, &surface->compositor->output_list, link)
- output->backend->flush_surface(output->data, surface);
+ output->backend->flush_surface_damage(output->data, surface);
pixman_region32_clear(&surface->damage_region);
}
}
static void
-wayland_output_flush_surface(void *o, pepper_surface_t *surface)
+wayland_output_flush_surface_damage(void *o, pepper_surface_t *surface)
{
pepper_renderer_flush_surface_damage(((wayland_output_t *)o)->renderer, surface);
}
wayland_output_assign_planes,
wayland_output_repaint,
wayland_output_attach_surface,
- wayland_output_flush_surface,
+ wayland_output_flush_surface_damage,
};
static void
}
static void
-x11_output_flush_surface(void *o, pepper_surface_t *surface)
+x11_output_flush_surface_damage(void *o, pepper_surface_t *surface)
{
pepper_renderer_flush_surface_damage(((x11_output_t *)o)->renderer, surface);
}
x11_output_assign_planes,
x11_output_repaint,
x11_output_attach_surface,
- x11_output_flush_surface,
+ x11_output_flush_surface_damage,
};
PEPPER_API pepper_output_t *