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] Please wrap SkImage::makeRawShader (milestone 98) #2338

Closed
Costigan opened this issue Dec 13, 2022 · 2 comments · Fixed by #2748
Closed

[FEATURE] Please wrap SkImage::makeRawShader (milestone 98) #2338

Costigan opened this issue Dec 13, 2022 · 2 comments · Fixed by #2748

Comments

@Costigan
Copy link

Is your feature request related to a problem? Please describe.

Custom shaders are extremely useful in some situations but are hampered by the inability to supply large amounts of non-image data to them. (My specific use case is using a shader to tweak raster map data as its rendered with the rest of skiasharp drawing text and vectors on top of the map.) SkImage::makeRawShader is Skia's mechanism for doing this by disabling color processing and

Describe the solution you'd like

I'm hoping SkiaSharp will move ahead to milestone 98, which provides this new public API.

I'm also hoping that a description of the SkiaSharp's approach to keeping up with versions of the underlying Skia library would be added to the wiki along with roadmap or timetable that indicates when/if updates to later milestones might occur.

Describe alternatives you've considered

I'm grateful that custom shaders are supported, and it may be possible to implement some of my use cases using the existing features for processing textures by encoding data as colored pixels but not all of them. I'm trying to figure out how to do that, currently.

Additional context

n/a

@bmitc
Copy link

bmitc commented Jan 7, 2023

I'm also hoping that a description of the SkiaSharp's approach to keeping up with versions of the underlying Skia library would be added to the wiki along with roadmap or timetable that indicates when/if updates to later milestones might occur.

Unfortunately, I don't think there is an approach. The current milestone supported by SkiaSharp is 88, which, as far as I can tell, is over two years old now.

@cyraid
Copy link

cyraid commented May 25, 2023

@bmitc yup, unfortunately it's over 2 years old now. Skia has many more updates but we won't be able to use any of them. :(

@ghost ghost locked as resolved and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants