gl-renderer: remove gl_renderer_output_surface
Nothing uses this. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
c504e83b72
commit
324e129172
|
@ -3405,12 +3405,6 @@ gl_renderer_output_destroy(struct weston_output *output)
|
|||
free(go);
|
||||
}
|
||||
|
||||
static EGLSurface
|
||||
gl_renderer_output_surface(struct weston_output *output)
|
||||
{
|
||||
return get_output_state(output)->egl_surface;
|
||||
}
|
||||
|
||||
static int
|
||||
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,
|
||||
.output_window_create = gl_renderer_output_window_create,
|
||||
.output_destroy = gl_renderer_output_destroy,
|
||||
.output_surface = gl_renderer_output_surface,
|
||||
.output_set_border = gl_renderer_output_set_border,
|
||||
.create_fence_fd = gl_renderer_create_fence_fd,
|
||||
.print_egl_error_state = gl_renderer_print_egl_error_state
|
||||
|
|
|
@ -76,8 +76,6 @@ struct gl_renderer_interface {
|
|||
|
||||
void (*output_destroy)(struct weston_output *output);
|
||||
|
||||
EGLSurface (*output_surface)(struct weston_output *output);
|
||||
|
||||
/* Sets the output border.
|
||||
*
|
||||
* The side specifies the side for which we are setting the border.
|
||||
|
|
Loading…
Reference in New Issue