-
-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two issues highlighted by profiling: * Clearing the texture takes a non-trivial percentage of the profile. The docs suggest that it is better to create a new texture than to update large portions of a texture, so add some plumbing so that we can do that in the first texture-full case. * Next on the list is the code that translates from linear BGRA to SRGBA. This is present for reasons that I believe are now legacy, but for the moment: those two primitives now have faster and easier implementations, so simplify to those. This improves the timg video playback performance by ~10% for me. refs: #537
- Loading branch information
Showing
4 changed files
with
32 additions
and
22 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
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