aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-17 14:52:16 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-15 16:30:00 +0000
commit6c277e3c395996db690dd80dd79f651c3baec883 (patch)
tree016ea82299293af27d730d53006c62d1035067c9 /include
parentda3616d1830b49bc0223bf16cf2dd8f4cfd76fc1 (diff)
buffer: drop wlr_shm_client_buffer
It's been superseded by wlr_shm.
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_buffer.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/types/wlr_buffer.h b/include/types/wlr_buffer.h
index 59d78e9c..f34b03a8 100644
--- a/include/types/wlr_buffer.h
+++ b/include/types/wlr_buffer.h
@@ -3,28 +3,6 @@
#include <wlr/types/wlr_buffer.h>
-struct wlr_shm_client_buffer {
- struct wlr_buffer base;
-
- uint32_t format;
- size_t stride;
-
- // The following fields are NULL if the client has destroyed the wl_buffer
- struct wl_resource *resource;
- struct wl_shm_buffer *shm_buffer;
-
- // This is used to keep the backing storage alive after the client has
- // destroyed the wl_buffer
- struct wl_shm_pool *saved_shm_pool;
- void *saved_data;
-
- struct wl_listener resource_destroy;
- struct wl_listener release;
-};
-
-struct wlr_shm_client_buffer *shm_client_buffer_get_or_create(
- struct wl_resource *resource);
-
/**
* A read-only buffer that holds a data pointer.
*