diff options
author | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-04-07 17:44:36 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-04-07 17:44:36 +0200 |
commit | 4cc8a689bae5e3fe442a7ddbd962732ebf86a3e7 (patch) | |
tree | 1260e8961e05d5862b899a23d0b733846c0b1768 /thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h | |
parent | f8517e1c4b05a0a6e5fbf85884d814145a136244 (diff) |
Update thorvg to 0.8.4
(cherry picked from commit cfed867da1a696692442bd6991449b864707b1d3)
Diffstat (limited to 'thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h')
-rw-r--r-- | thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h b/thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h index 574d9d488f..cab93f9e1c 100644 --- a/thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h +++ b/thirdparty/thorvg/src/lib/sw_engine/tvgSwRenderer.h @@ -48,7 +48,7 @@ public: bool clear() override; bool sync() override; - bool target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, uint32_t cs); + bool target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, uint32_t colorSpace); bool mempool(bool shared); Compositor* target(const RenderRegion& region) override; @@ -56,6 +56,8 @@ public: bool endComposite(Compositor* cmp) override; void clearCompositors(); + uint32_t colorSpace() override; + static SwRenderer* gen(); static bool init(uint32_t threads); static int32_t init(); |