mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-16 05:34:32 -04:00
shm: Add shm_buffer getters for width and height
This commit is contained in:
parent
0a9cd16f6a
commit
7ba218c9f8
2 changed files with 22 additions and 0 deletions
|
|
@ -428,6 +428,12 @@ wl_shm_buffer_get_stride(struct wl_buffer *buffer);
|
|||
uint32_t
|
||||
wl_shm_buffer_get_format(struct wl_buffer *buffer);
|
||||
|
||||
int32_t
|
||||
wl_shm_buffer_get_width(struct wl_buffer *buffer);
|
||||
|
||||
int32_t
|
||||
wl_shm_buffer_get_height(struct wl_buffer *buffer);
|
||||
|
||||
int
|
||||
wl_buffer_is_shm(struct wl_buffer *buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue