Skip to content

imaging: add support for scene pictures and images#42

Open
jrmoulton wants to merge 2 commits into
forest-rs:mainfrom
jrmoulton:push-rovxpmlozvqo
Open

imaging: add support for scene pictures and images#42
jrmoulton wants to merge 2 commits into
forest-rs:mainfrom
jrmoulton:push-rovxpmlozvqo

Conversation

@jrmoulton
Copy link
Copy Markdown
Contributor

This adds Arc backed handles for pictures and images which more or less map to SkPicture and SkImage where the intent of the picture is for the backend to retain an accelerated structure of some sort for the scene and the intent of the image is for the backend to retain a rasterized image of the scene (although the backend may choose the method of implementation). The backends are expected to keep weak references to the handles and may clear the associated data when there are no more strong references.

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