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

Normalize input rectangles just once #176

Merged
merged 1 commit into from
Dec 21, 2019
Merged

Normalize input rectangles just once #176

merged 1 commit into from
Dec 21, 2019

Conversation

ebassi
Copy link
Owner

@ebassi ebassi commented Dec 21, 2019

If we're calling accessors functions on the same graphene_rect_t
multiple times, we end up normalizing the same rectangle. Let's do this
once at the start, and call the accessors on the normalized rectangle to
avoid tripping the normalization code paths.

If we're calling accessors functions on the same graphene_rect_t
multiple times, we end up normalizing the same rectangle. Let's do this
once at the start, and call the accessors on the normalized rectangle to
avoid tripping the normalization code paths.
@ebassi ebassi merged commit debf7e4 into master Dec 21, 2019
@ebassi ebassi deleted the normalize-bounds branch December 21, 2019 22:00
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