aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/egl.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-25 17:43:51 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-05-25 18:17:41 +0000
commit4b3e08c8acf0b83654c203bf7e055fc995f2540f (patch)
treedfb6a647d50bc1606d113bc42f60c4c47a728e2e /include/wlr/render/egl.h
parentf954092f22256c807c70f2a7de376f29e864d342 (diff)
render/egl: make wlr_egl_{make,unset,is}_current private
These are trivial wrappers around eglMakeCurrent and eglGetCurrentContext. Compositors which need to call these functions will also call other EGL or GL functions anyways. Let's reduce our API surface a bit by making them private.
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r--include/wlr/render/egl.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 8cb48e02..7374e86d 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -47,16 +47,4 @@ EGLDisplay wlr_egl_get_display(struct wlr_egl *egl);
*/
EGLContext wlr_egl_get_context(struct wlr_egl *egl);
-/**
- * Make the EGL context current.
- *
- * Callers are expected to clear the current context when they are done by
- * calling wlr_egl_unset_current().
- */
-bool wlr_egl_make_current(struct wlr_egl *egl);
-
-bool wlr_egl_unset_current(struct wlr_egl *egl);
-
-bool wlr_egl_is_current(struct wlr_egl *egl);
-
#endif