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

Support Skia shaders (SkSL) #363

Open
igordmn opened this issue Feb 9, 2021 · 2 comments
Open

Support Skia shaders (SkSL) #363

igordmn opened this issue Feb 9, 2021 · 2 comments
Assignees
Labels
desktop enhancement New feature or request rendering Low level rendering resources

Comments

@igordmn
Copy link
Collaborator

igordmn commented Feb 9, 2021

https://github.com/google/skia/blob/master/src/sksl/README

Open questions:

  • Does SkSL work only with OpenGL, or also with different backends (DirectX, Metal, software)?
  • We currently draw into temporally SkPicture to avoid concurrency issues on macOs (on macOs we can render only in AppKit thread, but our UI should work in AWT Thread). If SkPicture isn't supported with SkSL, how can we provide render API for Compose?
  • How can we pass bitmaps (textures) into shader?
@igordmn igordmn self-assigned this Feb 9, 2021
@igordmn igordmn added enhancement New feature or request rendering Low level rendering resources labels Feb 9, 2021
@rock3r
Copy link
Contributor

rock3r commented Mar 30, 2022

Looks like you can already use SlSL shaders in CfD (see this example from kirill-grouchnikov/artemis). Would be nice to get IDE support for the SkSL language.

@okushnikov
Copy link

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop enhancement New feature or request rendering Low level rendering resources
Projects
None yet
Development

No branches or pull requests

4 participants