aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-09 13:07:22 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-26 11:44:16 -0400
commit3cf2535c23394439a16c6060bfa06b59261cebcb (patch)
treeaf82fd11829455215b5ea789f2667d2f9c23029b /include/wlr/render
parentace2eda073f838e1327abd7ffb8e5111e52f4b86 (diff)
render/egl: add support for EGL_EXT_device_drm_render_node
This EGL extension has been added in [1]. The upsides are: - We directly get a render node, instead of having to convert the primary node name to a render node name. - If EGL_DRM_RENDER_NODE_FILE_EXT returns NULL, that means there is no render node being used by the driver. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/127
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/egl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 4a474062..3a09ba97 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -43,6 +43,7 @@ struct wlr_egl {
// Device extensions
bool EXT_device_drm;
+ bool EXT_device_drm_render_node;
} exts;
struct {