aboutsummaryrefslogtreecommitdiff
path: root/render/pixman
diff options
context:
space:
mode:
Diffstat (limited to 'render/pixman')
-rw-r--r--render/pixman/renderer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/pixman/renderer.c b/render/pixman/renderer.c
index d85c11a1..7680e171 100644
--- a/render/pixman/renderer.c
+++ b/render/pixman/renderer.c
@@ -403,6 +403,10 @@ static bool pixman_read_pixels(struct wlr_renderer *wlr_renderer,
return true;
}
+static uint32_t pixman_get_render_buffer_caps(void) {
+ return WLR_BUFFER_CAP_DATA_PTR;
+}
+
static const struct wlr_renderer_impl renderer_impl = {
.begin = pixman_begin,
.clear = pixman_clear,
@@ -416,6 +420,7 @@ static const struct wlr_renderer_impl renderer_impl = {
.destroy = pixman_destroy,
.preferred_read_format = pixman_preferred_read_format,
.read_pixels = pixman_read_pixels,
+ .get_render_buffer_caps = pixman_get_render_buffer_caps,
};
struct wlr_renderer *wlr_pixman_renderer_create(void) {