summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.c12
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.h6
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