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 components_per_format, bytes_per_type #318

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

sagudev
Copy link
Contributor

@sagudev sagudev commented Oct 25, 2024

read_pixels defines pixels len: COMPSIZE(format,type,width,height), and this PR provides such function.

based on: https://github.com/servo/sparkle/blob/a61f94fff95d29e93721cdbfc4b5dde8671a6970/src/lib.rs#L2636

@grovesNL
Copy link
Owner

@sagudev is this ready to review?

@sagudev
Copy link
Contributor Author

sagudev commented Oct 30, 2024

@sagudev is this ready to review?

As I said in #317 (comment) all my PRs that are not marked as draft are ready for review.

Copy link
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@grovesNL grovesNL merged commit 721b09e into grovesNL:main Nov 1, 2024
7 checks passed
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.

2 participants