aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-07 13:56:07 +0100
committerSimon Ser <contact@emersion.fr>2023-04-25 17:26:35 +0200
commit6ce371a317860f6d9f351cb00019a245085ef6e2 (patch)
tree6c9471a1c1500cdb3b7986bc5b6650f2b1cdb6d1 /include
parentd7fcc1e96f318638d14bc86b73887ded41593cd4 (diff)
render/pixman: add begin_pixman_data_ptr_access()
This logic is used twice.
Diffstat (limited to 'include')
-rw-r--r--include/render/pixman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/render/pixman.h b/include/render/pixman.h
index 24847d1a..417964f2 100644
--- a/include/render/pixman.h
+++ b/include/render/pixman.h
@@ -52,4 +52,7 @@ pixman_format_code_t get_pixman_format_from_drm(uint32_t fmt);
uint32_t get_drm_format_from_pixman(pixman_format_code_t fmt);
const uint32_t *get_pixman_drm_formats(size_t *len);
+bool begin_pixman_data_ptr_access(struct wlr_buffer *buffer, pixman_image_t **image_ptr,
+ uint32_t flags);
+
#endif