aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-25 17:48:00 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-05-25 18:17:41 +0000
commit1cb6b2cf673a5b580d7ad79ce2b37c14b14b0268 (patch)
tree00766a6d5787dd39b25889a9d0c56ac034a3a1a7 /include/wlr/render
parent4b3e08c8acf0b83654c203bf7e055fc995f2540f (diff)
render/egl: document wlr_egl_create_with_context
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/egl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 7374e86d..9bf1b801 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -28,6 +28,12 @@
struct wlr_egl;
+/**
+ * Create a struct wlr_egl with an existing EGL display and context.
+ *
+ * This is typically used by compositors which want to customize EGL
+ * initialization.
+ */
struct wlr_egl *wlr_egl_create_with_context(EGLDisplay display,
EGLContext context);