infra: --EGL dependency

there is no more EGL dependency in gl engine.
This commit is contained in:
Hermet Park 2024-06-18 15:21:32 +09:00
parent 9c9999169e
commit 70daa7b399
2 changed files with 1 additions and 12 deletions

View file

@ -494,7 +494,7 @@ meson setup builddir -Dbindings="capi"
## Dependencies ## 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: 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) * WG engine: [webgpu-native](https://github.com/gfx-rs/wgpu-native)
* External PNG support: [libpng](https://github.com/glennrp/libpng) * External PNG support: [libpng](https://github.com/glennrp/libpng)
* External JPG support: [turbojpeg](https://github.com/libjpeg-turbo/libjpeg-turbo) * External JPG support: [turbojpeg](https://github.com/libjpeg-turbo/libjpeg-turbo)

View file

@ -39,17 +39,6 @@
} \ } \
} while(0) } 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 { enum class GlStencilMode {
None, None,
FillWinding, FillWinding,