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

Add SKImage::makeRawShader to the C API #119

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

mattleibow
Copy link

@mattleibow mattleibow commented Feb 8, 2024

Description of Change

This PR adds the SKImage::makeRawShader API to the C layer.

SkiaSharp Issue

Related to mono/SkiaSharp#2338

API Changes

sk_shader_t* sk_image_make_raw_shader(
    const sk_image_t* image, 
    sk_shader_tilemode_t tileX, 
    sk_shader_tilemode_t tileY, 
    const sk_sampling_options_t* sampling, 
    const sk_matrix_t* cmatrix);

Behavioral Changes

None.

Required SkiaSharp PR

Requires mono/SkiaSharp#2748

PR Checklist

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

@mattleibow mattleibow merged commit 8990028 into skiasharp Feb 9, 2024
1 check passed
@mattleibow mattleibow deleted the dev/raw-shaders branch February 9, 2024 18:44
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.

None yet

1 participant