From 4b3e08c8acf0b83654c203bf7e055fc995f2540f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 25 May 2022 17:43:51 +0200 Subject: 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. --- include/wlr/render/egl.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include/wlr/render/egl.h') 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 -- cgit v1.2.3