-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and improve unclipped image blits
* Remove the limitation of fill path having to be equal to the source image: Simplify and correct the u/v texture coordinate calculation by applying the transformation that happens in the fragment shader ahead of time in Rust. * Support intersecting the rect fill with the scissor rect (note: anti-aliasing is explicitly disabled in the paint for this code to trigger) This brings my scene from 47 FPS to 51 FPS
- Loading branch information
Showing
3 changed files
with
59 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters