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

Shader functions with GLSL/SKSL #1098

Open
yuto-trd opened this issue Sep 29, 2024 · 0 comments
Open

Shader functions with GLSL/SKSL #1098

yuto-trd opened this issue Sep 29, 2024 · 0 comments
Labels
area-graphics enhancement New feature or request

Comments

@yuto-trd
Copy link
Member

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

Currently, GPU pixel manipulation uses ILGPU, but macOS and other platforms use the CPU instead of the GPU.
Also, using ILGPU requires at least two copies of memory, which is redundant.

SKSurface (OpenGL) -> CPU memory -> OpenCL memory

Therefore, I would like to implement a shader function that can directly manipulate the SKSurface.

Describe the solution you'd like

Use SKRuntimeShader or OpenGL APIs directly

Describe alternatives you've considered

No response

Additional context

No response

@yuto-trd yuto-trd added enhancement New feature or request area-graphics labels Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-graphics enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant