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 SKSL editor and another canvas backed by offscreen gpu canvas #9

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

BandarB7
Copy link

@BandarB7 BandarB7 commented Dec 30, 2023

  • SkiaSharpFiddle now has 2 text editors and 2 canvasas on UI
  • All drawing commands are executed through 1-cpu canvas
  • Result of cpu canvas is copied to gpu canvas where SKSL is executed and copied back to cpu canvas
  • GlContexts is copied from SkiaSharp unit tests

This is a workaround to enable SKSL to work using SkiaSharp 2.XX on WPF.
In SkiaSharp 3 (pre-release), this approach is not 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

Successfully merging this pull request may close these issues.

1 participant