diff options
author | Emil Velikov <[email protected]> | 2017-09-01 11:26:11 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-09-19 19:02:34 +0100 |
commit | 15a6ebdfbba3b378868aa63f134fc1f6fd3d43be (patch) | |
tree | 59113e44cdd678a92f57b3ae6288a5dee8f1a781 /src/egl/wayland/wayland-drm | |
parent | 2f0342330c4b48111389e0096c314ff3fa73d99e (diff) |
wayland-drm: remove unused wayland_drm_buffer_get_{format,buffer}
Unused anywhere throughout the codebase. We could start using it,
although that contradicts to an evil plan* of mine.
* Only wayland servers will make use of the static library, providing
actual distinction between server vs client.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/egl/wayland/wayland-drm')
-rw-r--r-- | src/egl/wayland/wayland-drm/wayland-drm.c | 12 | ||||
-rw-r--r-- | src/egl/wayland/wayland-drm/wayland-drm.h | 6 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c index 4fc12521d24..fc33e4d8fc9 100644 --- a/src/egl/wayland/wayland-drm/wayland-drm.c +++ b/src/egl/wayland/wayland-drm/wayland-drm.c @@ -292,15 +292,3 @@ wayland_drm_uninit(struct wl_drm *drm) free(drm); } - -uint32_t -wayland_drm_buffer_get_format(struct wl_drm_buffer *buffer) -{ - return buffer->format; -} - -void * -wayland_drm_buffer_get_buffer(struct wl_drm_buffer *buffer) -{ - return buffer->driver_buffer; -} diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h index 72575d81cca..38f711e067b 100644 --- a/src/egl/wayland/wayland-drm/wayland-drm.h +++ b/src/egl/wayland/wayland-drm/wayland-drm.h @@ -38,10 +38,4 @@ wayland_drm_init(struct wl_display *display, char *device_name, void wayland_drm_uninit(struct wl_drm *drm); -uint32_t -wayland_drm_buffer_get_format(struct wl_drm_buffer *buffer); - -void * -wayland_drm_buffer_get_buffer(struct wl_drm_buffer *buffer); - #endif |