libweston: Remove weston_surface_set_color
Don't do this; instead, create a solid-colour buffer and attach it to the surface explicitly. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -929,9 +929,6 @@ struct weston_renderer {
|
||||
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,
|
||||
float blue, float alpha);
|
||||
void (*destroy)(struct weston_compositor *ec);
|
||||
|
||||
/** See weston_surface_get_content_size() */
|
||||
@@ -1977,10 +1974,6 @@ struct weston_view_animation *
|
||||
weston_slide_run(struct weston_view *view, float start, float stop,
|
||||
weston_view_animation_done_func_t done, void *data);
|
||||
|
||||
void
|
||||
weston_surface_set_color(struct weston_surface *surface,
|
||||
float red, float green, float blue, float alpha);
|
||||
|
||||
void
|
||||
weston_surface_destroy(struct weston_surface *surface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user