diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_buffer.h | 12 | ||||
-rw-r--r-- | include/wlr/types/wlr_buffer.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/types/wlr_buffer.h b/include/types/wlr_buffer.h index b5210bfb..896109fd 100644 --- a/include/types/wlr_buffer.h +++ b/include/types/wlr_buffer.h @@ -73,18 +73,6 @@ struct wlr_dmabuf_buffer *dmabuf_buffer_create( bool dmabuf_buffer_drop(struct wlr_dmabuf_buffer *buffer); /** - * Buffer capabilities. - * - * These bits indicate the features supported by a wlr_buffer. There is one bit - * per function in wlr_buffer_impl. - */ -enum wlr_buffer_cap { - WLR_BUFFER_CAP_DATA_PTR = 1 << 0, - WLR_BUFFER_CAP_DMABUF = 1 << 1, - WLR_BUFFER_CAP_SHM = 1 << 2, -}; - -/** * Get a pointer to a region of memory referring to the buffer's underlying * storage. The format and stride can be used to interpret the memory region * contents. diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 47f17cce..d23cdce8 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -34,6 +34,18 @@ struct wlr_buffer_impl { }; /** + * Buffer capabilities. + * + * These bits indicate the features supported by a wlr_buffer. There is one bit + * per function in wlr_buffer_impl. + */ +enum wlr_buffer_cap { + WLR_BUFFER_CAP_DATA_PTR = 1 << 0, + WLR_BUFFER_CAP_DMABUF = 1 << 1, + WLR_BUFFER_CAP_SHM = 1 << 2, +}; + +/** * A buffer containing pixel data. * * A buffer has a single producer (the party who created the buffer) and |