Skip to content

Conversation

@kkwpsv
Copy link

@kkwpsv kkwpsv commented Jan 15, 2025

Description of Change

Expose RuntimeShader related API.

SkiaSharp Issue

Related to mono/SkiaSharp#3137

API Changes

Added:

  • sk_imagefilter_t* sk_imagefilter_new_runtime_shader(const sk_runtimeshaderbuilder_t* builder, float maxSampleRadius, const char* childShaderNames[], const sk_imagefilter_t* inputs[], int inputCount)
  • sk_runtimeshaderbuilder_t* sk_runtimeshaderbuilder_new(const sk_runtimeeffect_t* effect, sk_data_t* uniforms, sk_flattenable_t** children, size_t childCount)
  • void sk_runtimeshaderbuilder_destructor(sk_runtimeshaderbuilder_t* builder)

Behavioral Changes

None.

Required SkiaSharp PR

Requires mono/SkiaSharp#3141

PR Checklist

  • Rebased on top of skiasharp at time of PR
  • Changes adhere to coding standard
  • Updated documentation

@kkwpsv
Copy link
Author

kkwpsv commented Jan 15, 2025

@dotnet-policy-service agree

@kkwpsv kkwpsv changed the title Exposed RuntimeShader related API. Expose RuntimeShader related API. Jan 15, 2025
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