-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
๐จ Refactor CoreNode Renderability Logic ๐ (#476)
### Whatโs New? โจ This PR refactors Texture Throttling in the following ways: - ๐ Async RTT Texture Loading: When an RTT node is set, wait for the texture to load asynchronously. - ๐๏ธ Improved Texture Cleanup: When a texture is freed, its source texture is now also marked as freed. Fixes a bug where textures weren't returning after memory cleanup. - ๐ Auto-Trigger Texture Loading: Refactored isRenderable owner changes to automatically call texture loading if the texture state is freed or initial. ## How to Test? ๐งช RTT Changes: Use `test=rtt-dimension`. ๐ผ๏ธ You should see race conditions occurring prior to this PR. Texture Freed Fix: Add a rocko.png to the `test=texture-cleanup-critical` test and move it in and out of the screen to validate. ๐ฏ (Not the prettiest, but it works!). Might create an automated test for this in the future. ## Whatโs Next? ๐ More Testing! ๐ ๏ธ
- Loading branch information
Showing
3 changed files
with
43 additions
and
25 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