aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_renderer.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-10 22:20:21 -0400
committerGitHub <noreply@github.com>2017-08-10 22:20:21 -0400
commit6569c2b62614384b268eb20feb7818f3c0cf606c (patch)
tree4be63a8f4e2edfcecd228f23e9846403ddf39281 /render/wlr_renderer.c
parentfe2fbd0fad96624ab64a86b0b8eb8ead769908f2 (diff)
parentc24351681f672a2ce561b9cb6d73172dfc36c45c (diff)
Merge pull request #53 from nyorain/drm_buffer
Implement drm (egl) buffer attaching
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r--render/wlr_renderer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index 8418fd5b..640d737e 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -46,3 +46,8 @@ const enum wl_shm_format *wlr_renderer_get_formats(
struct wlr_renderer *r, size_t *len) {
return r->impl->formats(r->state, len);
}
+
+bool wlr_renderer_buffer_is_drm(struct wlr_renderer *r,
+ struct wl_resource *buffer) {
+ return r->impl->buffer_is_drm(r->state, buffer);
+}