gl-renderer: remove gl_renderer_output_surface

Nothing uses this.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-09-19 13:55:04 +03:00 committed by Pekka Paalanen
parent c504e83b72
commit 324e129172
2 changed files with 0 additions and 9 deletions

View File

@ -3405,12 +3405,6 @@ gl_renderer_output_destroy(struct weston_output *output)
free(go); free(go);
} }
static EGLSurface
gl_renderer_output_surface(struct weston_output *output)
{
return get_output_state(output)->egl_surface;
}
static int static int
gl_renderer_create_fence_fd(struct weston_output *output) gl_renderer_create_fence_fd(struct weston_output *output)
{ {
@ -4121,7 +4115,6 @@ WL_EXPORT struct gl_renderer_interface gl_renderer_interface = {
.display_create = gl_renderer_display_create, .display_create = gl_renderer_display_create,
.output_window_create = gl_renderer_output_window_create, .output_window_create = gl_renderer_output_window_create,
.output_destroy = gl_renderer_output_destroy, .output_destroy = gl_renderer_output_destroy,
.output_surface = gl_renderer_output_surface,
.output_set_border = gl_renderer_output_set_border, .output_set_border = gl_renderer_output_set_border,
.create_fence_fd = gl_renderer_create_fence_fd, .create_fence_fd = gl_renderer_create_fence_fd,
.print_egl_error_state = gl_renderer_print_egl_error_state .print_egl_error_state = gl_renderer_print_egl_error_state

View File

@ -76,8 +76,6 @@ struct gl_renderer_interface {
void (*output_destroy)(struct weston_output *output); void (*output_destroy)(struct weston_output *output);
EGLSurface (*output_surface)(struct weston_output *output);
/* Sets the output border. /* Sets the output border.
* *
* The side specifies the side for which we are setting the border. * The side specifies the side for which we are setting the border.