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 support for WinUI accelerated views #2733

Merged
merged 1 commit into from Feb 3, 2024
Merged

Add support for WinUI accelerated views #2733

merged 1 commit into from Feb 3, 2024

Conversation

mattleibow
Copy link
Contributor

@mattleibow mattleibow commented Feb 2, 2024

Description of Change

This PR primarily adds the GPU views for WinUI, but there are a few othe things it need to do:

  • Builds ANGLE as this is the primary interop between SkiaSharp and DirectX
  • Builds an interop library that extends types needed for interacting with ANGLE
  • Enables AngleSwapChainPanel as this is the WinUI view that sets up the GL context
  • Enables the SKSwapChainPanel as this is the SkiaSharp accelerated view

Bugs Fixed

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

@mattleibow mattleibow force-pushed the dev/winui-gpu branch 4 times, most recently from f4ef917 to b3762c7 Compare February 2, 2024 23:53
Adds the GPU views for WinUI, but there are a few othe things it need
to do:
- Builds ANGLE as this is the primary interop between SkiaSharp and
  DirectX
- Builds an interop library that extends types needed for interacting
  with ANGLE
- Enables AngleSwapChainPanel as this is the WinUI view that sets up
  the GL context
- Enables the SKSwapChainPanel as this is the SkiaSharp accelerated
  view
- Add a new NativeAssets package for WinUI native files
@mattleibow mattleibow merged commit 79162b3 into main Feb 3, 2024
1 of 2 checks passed
@mattleibow mattleibow deleted the dev/winui-gpu branch February 3, 2024 10:25
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.

Support for GPU Acceleration for WinUI3
1 participant