summaryrefslogtreecommitdiff
path: root/src/noop-renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/noop-renderer.c')
-rw-r--r--src/noop-renderer.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/noop-renderer.c b/src/noop-renderer.c
index 91659f58..ad750b5a 100644
--- a/src/noop-renderer.c
+++ b/src/noop-renderer.c
@@ -51,12 +51,6 @@ noop_renderer_attach(struct weston_surface *es, struct weston_buffer *buffer)
{
}
-static int
-noop_renderer_create_surface(struct weston_surface *surface)
-{
- return 0;
-}
-
static void
noop_renderer_surface_set_color(struct weston_surface *surface,
float red, float green, float blue, float alpha)
@@ -64,11 +58,6 @@ noop_renderer_surface_set_color(struct weston_surface *surface,
}
static void
-noop_renderer_destroy_surface(struct weston_surface *surface)
-{
-}
-
-static void
noop_renderer_destroy(struct weston_compositor *ec)
{
free(ec->renderer);
@@ -88,9 +77,7 @@ noop_renderer_init(struct weston_compositor *ec)
renderer->repaint_output = noop_renderer_repaint_output;
renderer->flush_damage = noop_renderer_flush_damage;
renderer->attach = noop_renderer_attach;
- renderer->create_surface = noop_renderer_create_surface;
renderer->surface_set_color = noop_renderer_surface_set_color;
- renderer->destroy_surface = noop_renderer_destroy_surface;
renderer->destroy = noop_renderer_destroy;
ec->renderer = renderer;