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

[FEATURE] Support Direct3D #2817

Open
1 task done
Kation opened this issue Apr 1, 2024 · 4 comments
Open
1 task done

[FEATURE] Support Direct3D #2817

Kation opened this issue Apr 1, 2024 · 4 comments

Comments

@Kation
Copy link

Kation commented Apr 1, 2024

Is your feature request related to a problem?

  1. Some GPU or its driver doesn't support Vulkan.
    For example, Intel Xe Graphics currently driver will return null ptr when get procedure address for some name.
    Then GRContext.CreateVulkan will return null.
  2. Some environment only support OpenGL 1.1.
    For example, Virtual Machine without GPU. Or remote control without RDP with Intel Xe Graphics.
    Then GRContext.CreateGl will return null.

Without Vulkan and OpenGL, we can only use CPU to render images.

Describe the solution you would like

Add D3D support with Windows os.

Describe alternatives you have considered

Add define SK_Direct3D when compile native skia so that I can use it with pinvoke and reflection.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Kation
Copy link
Author

Kation commented Apr 1, 2024

I have tried to use SharpDX to create backend. But I found there is no api define in libSkiaSharp because compile without define SK_Direct3D.

@996666925
Copy link

👍👍👍

@Shunfeng88
Copy link

The code demonstrates a deep understanding of the domain, incorporating relevant design patterns and domain-specific optimizations that reflect your expertise and intimate familiarity with the subject matter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants