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

Expose more SkPicture and SkDrawable APIs #127

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

mattleibow
Copy link

Description of Change

Add a few more APIs for SkPicture.

SkiaSharp Issue

Related to mono/SkiaSharp#2881

API Changes

size_t sk_drawable_approximate_bytes_used(sk_drawable_t* drawable);

void sk_picture_playback(const sk_picture_t* picture, sk_canvas_t* canvas);
int sk_picture_approximate_op_count(const sk_picture_t* picture, bool nested);
size_t sk_picture_approximate_bytes_used(const sk_picture_t* picture);

Behavioral Changes

None.

Required SkiaSharp PR

Requires mono/SkiaSharp#2883

PR Checklist

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

@mattleibow mattleibow merged commit 2bb9dd9 into skiasharp Jun 3, 2024
1 check passed
@mattleibow mattleibow deleted the dev/picture branch June 3, 2024 15:07
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