renderer: Add buffer to flush_damage
We already have the buffer in the caller, and every no-op implementation will want to access the buffer. So might as well pass it. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -926,7 +926,8 @@ struct weston_renderer {
|
||||
uint32_t width, uint32_t height);
|
||||
void (*repaint_output)(struct weston_output *output,
|
||||
pixman_region32_t *output_damage);
|
||||
void (*flush_damage)(struct weston_surface *surface);
|
||||
void (*flush_damage)(struct weston_surface *surface,
|
||||
struct weston_buffer *buffer);
|
||||
void (*attach)(struct weston_surface *es, struct weston_buffer *buffer);
|
||||
void (*surface_set_color)(struct weston_surface *surface,
|
||||
float red, float green,
|
||||
|
||||
Reference in New Issue
Block a user