-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Optimize update of matrix in RAS_MeshSlot rendering.
Previously the test to apply/update or not the matrix was complex and made only in RAS_MeshSlot even if the operand of the test were know at RAS_DisplayArrayBucket level. To optimize this check we cached its value in the display array node data in RAS_DisplayArrayBucket::UpdateActiveMeshSlots. Test with 40*40 objects of 2 meshes: Before: 2.20ms After: 2.10ms (4.5%)
- Loading branch information
1 parent
3dd96ff
commit 9864f03
Showing
3 changed files
with
15 additions
and
12 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