From a2419eb4ea06d92eef8b6196e27a7de1b57e51e6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 24 Jun 2021 12:10:12 +0200 Subject: render/egl: make most functions private The wlr_egl functions are mostly used internally by the GLES2 renderer. Let's reduce our API surface a bit by hiding them. If there are good use-cases for one of these, we can always make them public again. The functions mutating the current EGL context are not made private because e.g. Wayfire uses them. --- render/gles2/renderer.c | 1 + render/gles2/texture.c | 1 + 2 files changed, 2 insertions(+) (limited to 'render/gles2') diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index baf53c72..e0534749 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -15,6 +15,7 @@ #include #include #include +#include "render/egl.h" #include "render/gles2.h" #include "render/pixel_format.h" #include "types/wlr_buffer.h" diff --git a/render/gles2/texture.c b/render/gles2/texture.c index d42cff18..303ac411 100644 --- a/render/gles2/texture.c +++ b/render/gles2/texture.c @@ -11,6 +11,7 @@ #include #include #include +#include "render/egl.h" #include "render/gles2.h" #include "render/pixel_format.h" #include "types/wlr_buffer.h" -- cgit v1.2.3