Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tiny_skia rendering backend #118

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Add a tiny_skia rendering backend #118

merged 1 commit into from
Oct 10, 2023

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Oct 10, 2023

This adds a tiny_skia rendering backend which is used if vger fails to initialize or if wgpu uses a CPU backend.

It doesn't support blur radios and Z-indexing. Masking is currently quite expensive as tiny_skia doesn't support masking by rectangles.

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #118 (0119578) into main (5dd6c86) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main    #118      +/-   ##
========================================
- Coverage   3.39%   3.23%   -0.17%     
========================================
  Files         53      54       +1     
  Lines       8976    9421     +445     
========================================
  Hits         305     305              
- Misses      8671    9116     +445     
Files Coverage Δ
vger/src/lib.rs 0.00% <0.00%> (ø)
src/renderer.rs 0.00% <0.00%> (ø)
tiny_skia/src/lib.rs 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dzhou121
Copy link
Contributor

Wow thanks so much! That's blazing fast for you to add this feature.

@dzhou121 dzhou121 merged commit 18bb6aa into lapce:main Oct 10, 2023
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants