From 70daa7b3994e16c341b8730d3bc3b8591b8a94f9 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Tue, 18 Jun 2024 15:21:32 +0900 Subject: [PATCH] infra: --EGL dependency there is no more EGL dependency in gl engine. --- README.md | 2 +- src/renderer/gl_engine/tvgGlCommon.h | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index a32c60ea..6338be25 100644 --- a/README.md +++ b/README.md @@ -494,7 +494,7 @@ meson setup builddir -Dbindings="capi" ## Dependencies ThorVG offers versatile support for image loading, accommodating both static and external loaders. This flexibility ensures that, even in environments without external libraries, users can still leverage static loaders as a reliable alternative. At its foundation, the ThorVG core library is engineered to function autonomously, free from external dependencies. However, it is important to note that ThorVG also encompasses a range of optional feature extensions, each with its specific set of dependencies. The dependencies associated with these selective features are outlined as follows: -* GL engine: [EGL](https://www.khronos.org/egl), [GLESv2/GLESv3](https://www.khronos.org/opengles/) +* GL engine: [GLESv2/GLESv3](https://www.khronos.org/opengles/) * WG engine: [webgpu-native](https://github.com/gfx-rs/wgpu-native) * External PNG support: [libpng](https://github.com/glennrp/libpng) * External JPG support: [turbojpeg](https://github.com/libjpeg-turbo/libjpeg-turbo) diff --git a/src/renderer/gl_engine/tvgGlCommon.h b/src/renderer/gl_engine/tvgGlCommon.h index 52bb0325..0762b090 100644 --- a/src/renderer/gl_engine/tvgGlCommon.h +++ b/src/renderer/gl_engine/tvgGlCommon.h @@ -39,17 +39,6 @@ } \ } while(0) -#define EGL_CHECK(x) \ - x; \ - do { \ - EGLint eglError = eglGetError(); \ - if(eglError != EGL_SUCCESS) { \ - TVGERR("GL_ENGINE", "eglGetError() = %i (0x%.8x)", eglError, eglError); \ - assert(0); \ - } \ - } while(0) - - enum class GlStencilMode { None, FillWinding,