thorvg/src/lib/gl_engine
Hermet Park c50d2fde5f common sw_engine: support blending methods.
The blending feature allows user to combine colors to create visually appealing effects,
including transparency, lighting, shading, and color mixing, among others.

Its process involves the combination of colors or images from the source paint object
with the destination (the lower layer image) using blending operations.

The blending operation is determined by the chosen @p BlendMethod,
which specifies how the colors or images are combined.

@APIs:
 - enum class BlendMethod::Normal, Add, Screen, Multiply, Overlay, Lighten, Difference, Exclusion, SrcOver, Darken, Lighten, ColorDodge, ColorBurn
 - BlendMethod Paint::blend() const noexcept;
 - Result Paint::blend(BlendMethod method) const noexcept;

@Issue: https://github.com/thorvg/thorvg/issues/307

Co-authored-by: Peter Vullings <peter@projectitis.com>
Co-authored-by: Hermet Park <hermetpark@lottiefiles.com>
2023-06-20 11:30:18 +09:00
..
meson.build changed file permission 2020-09-08 20:29:24 +09:00
tvgGlCommon.h common shape: code refactoring & data optimization. 2023-02-05 12:06:09 +09:00
tvgGlGeometry.cpp common shape: code refactoring & data optimization. 2023-02-05 12:06:09 +09:00
tvgGlGeometry.h common shape: code refactoring & data optimization. 2023-02-05 12:06:09 +09:00
tvgGlGpuBuffer.cpp updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlGpuBuffer.h updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlProgram.cpp updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlProgram.h updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlPropertyInterface.cpp updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlPropertyInterface.h updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlRenderer.cpp common sw_engine: support blending methods. 2023-06-20 11:30:18 +09:00
tvgGlRenderer.h common sw_engine: support blending methods. 2023-06-20 11:30:18 +09:00
tvgGlRendererProperties.h updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlRenderTask.cpp updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlRenderTask.h updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlShader.cpp updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlShader.h updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlShaderSrc.cpp updated copyright. 2023-01-14 13:48:11 +09:00
tvgGlShaderSrc.h updated copyright. 2023-01-14 13:48:11 +09:00