mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
infra: --EGL dependency
there is no more EGL dependency in gl engine.
This commit is contained in:
parent
03c6f43441
commit
6f33a2bcbb
2 changed files with 1 additions and 12 deletions
|
@ -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)
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue