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

Path dose not work well on renderer-skia-opengl #5978

Open
Horbin-Magician opened this issue Aug 28, 2024 · 4 comments
Open

Path dose not work well on renderer-skia-opengl #5978

Horbin-Magician opened this issue Aug 28, 2024 · 4 comments
Labels
a:path The Path element implementation, compiler support and runtime (mS,bO) a:renderer-skia Skia Renderer (mS) needs info Further information from the reporter is requested

Comments

@Horbin-Magician
Copy link
Contributor

Win11, Slint1.7.2, renderer-skia-opengl, Rust

The Path is not displayed or is abnormal when using renderer-skia-opengl.

renderer-skia-opengl (abnormal):

skia.mp4

renderer-femtovg (normal):

femtovg.mp4

I guess that only Path over a certain height and width will be displayed properly.

This is my demo code:
path_demo.zip

@tronical tronical added bug Something isn't working a:platform-windows Issue specific to Windows (mT,bS) a:renderer-skia Skia Renderer (mS) labels Aug 28, 2024
@ogoffart ogoffart added need triaging Issue that the owner of the area still need to triage a:path The Path element implementation, compiler support and runtime (mS,bO) labels Sep 6, 2024
@tronical
Copy link
Member

Hmm, this is odd. I tried reproducing this on macOS and Linux, but your example just works out of the box. (I can't try windows right now because of issues compiling skia on windows for arm). I somehow doubt that it's specific to Windows though.

Do you see any difference with the Skia software renderer, btw?

@tronical tronical added needs info Further information from the reporter is requested and removed need triaging Issue that the owner of the area still need to triage bug Something isn't working a:platform-windows Issue specific to Windows (mT,bS) labels Sep 16, 2024
@Horbin-Magician
Copy link
Contributor Author

Do you see any difference with the Skia software renderer, btw?

I don't know how to use the Skia software renderer, the way is in document?

@tronical
Copy link
Member

Try set SLINT_BACKEND=winit-skia-software :)

@Horbin-Magician
Copy link
Contributor Author

Try set SLINT_BACKEND=winit-skia-software :)

The winit-skia-software works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:path The Path element implementation, compiler support and runtime (mS,bO) a:renderer-skia Skia Renderer (mS) needs info Further information from the reporter is requested
Projects
None yet
Development

No branches or pull requests

3 participants