Comments (6)
@FASTSHIFT Hello, ThorVG has actually been improved to meet your requirements.
In the official version clear buffer is always occurred in default but the behavior is not in the dev branch. clear is only occurred by a user call.
The thing is, this change has only been made in the main branch and hasn't been applied to the official release (i.e., 0.12.x) due to concerns about backward compatibility.
I'm not certain, but perhaps LVGL can manually cherry-pick this feature change to meet your demand? @kisvegabor
from thorvg.
Great news!
Actually we are still not sure how to track the changes of ThorVG. Right now we needed to add modifications for 3 issues:
Only #1742 is not resolved yet. If it were updated, we could just copy paste the required folders to LVGL on ThorVG releases.
from thorvg.
In the official version clear buffer is always occurred in default but the behavior is not in the dev branch. clear is only occurred by a user call.
Thank you very much for your reply, the code from the development branch meets the needs perfectly!
The thing is, this change has only been made in the main branch and hasn't been applied to the official release (i.e., 0.12.x) due to concerns about backward compatibility.
Can we consider adding a parameter to control the rasterClear
call in preRender
in the official version? rasterClear
will be called by default, allowing users to disable this behavior through parameters, so as to achieve forward compatibility.
from thorvg.
@hermet FYI, I just added the clear calls to Godot and tested both of today's Github tips, and everything looks good to me.
CI https://github.com/capnm/godot4/actions/runs/7659208546
from thorvg.
@capnm Ok, Thanks. Note that the clear call is necessary with thorvg/main, but if this clear call is introduced in the official Godot release with ThorVG (0.12.x), the clear will actually be performed twice. This might slightly reduce performance in SVG drawing. Probably, that will be good if it could apply the clear call patch only for the CI godot + thorvg/main test.
from thorvg.
... Probably, that will be good if it could apply the clear call patch only for the CI godot + thorvg/main test.
Yes, that's exactly what I try to do. It helps me to catch new issues in my projects that might occur later in the releases more quickly.
from thorvg.
Related Issues (20)
- Adding a web build test CI HOT 2
- Lottie: Animation Segment(Marker) Support
- Lottie/slot: multiple properties in single slot not working
- broken lottie trimpath (individual)
- Feature Request: Clear canvas without deleting paints HOT 2
- Storing the address of local variable HOT 2
- CAPI: update colorspace interfaces
- Lottie: Support feasibility of accessing a specific Lottie node by identifier
- Lost compose effect when call canvas::draw second time
- lottie compatibility issue HOT 2
- Embedded compilers doesn't like `_A`, `_B`, and `_C` function names.
- ThorVG 0.13 Release HOT 1
- Memory leak lottie2gif fails to converte file
- Random crashes/leaks, when trying to convert invalid lottie files to gifs HOT 3
- feture request: generate documentation with meson
- Stack overflow and crash when using svg2png HOT 2
- thorvg msys2 package support HOT 6
- Crash when using a clippath with an empty path shape HOT 3
- Handling of very large size stroke-width HOT 4
- Thin rounded rectangle path stroke artifacts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thorvg.