From 6ce371a317860f6d9f351cb00019a245085ef6e2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 7 Dec 2022 13:56:07 +0100 Subject: render/pixman: add begin_pixman_data_ptr_access() This logic is used twice. --- include/render/pixman.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/render') 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 -- cgit v1.2.3