Shader functions with GLSL/SKSL
Opened this issue · 0 comments
yuto-trd commented
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