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

mozangle backend support. #596

Open
WangHoi opened this issue Dec 14, 2021 · 2 comments
Open

mozangle backend support. #596

WangHoi opened this issue Dec 14, 2021 · 2 comments

Comments

@WangHoi
Copy link

WangHoi commented Dec 14, 2021

We need to support d3d9 or d3d11 backend, can be accomplished by supporting 'mozangle'(ANGLE) backend.
Because Nvidia opengl driver crash on resizing opengl window, reported many times on Godot game engine issues.

Our app just fallback to cpu raster when detected Nvidia cards on win10/win11, poor performance.

@syrel
Copy link
Contributor

syrel commented Apr 13, 2022

I have an example of skia + mozangle (d3d11) + winit.
@pragmatrix I also have an example of skia + d3d12 + winit. Would you prefer them as examples or [[bin]] targets? Since cargo does not support dependencies per example many crates tend to convert examples to [[bin]] to not pollute dev-dependencies. What do you think?
It could be useful to have examples of skia + winit with pretty much all backends.

@pragmatrix
Copy link
Member

@syrel Either way is fine, the advantage of [[bin]] I guess would be that we could share the code that renders the rust-skia animation in the examples.

Regarding examples in general. I am a bit concerned because of the cost in terms of long term maintenance. While I do think we should maintain examples for all backends, I also must state that examples in this repository are hard to maintain because of their additional platform specific dependencies they introduce.

BTW: I've built a full winit + D3D12 backend built for rust-skia, primarily because I wasn't able to get the latency down with Vulkan or OpenGL on Windows, which I now regret not open sourcing it. This project is definitely too large to be included here. So I hope that future example applications are not supplying any more gorillas than needed.

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

No branches or pull requests

3 participants