-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hd] Cleanup of SceneIndexAdapterSceneDelegate::_PrimCacheEntry.
This replaces the (atomic, map) pair used to track cached primvar descriptors with a single atomic shared ptr to an array, following the caching pattern we use elsewhere (e.g. flattening scene index). This has two effects: - The atomic logic is simpler and more robust when it's not split across two objects. - The datastructures aren't inlined into _PrimCacheEntry, making _PrimCacheEntry much smaller and improving cache efficiency a bit. (Internal change: 2330018)
- Loading branch information
Showing
2 changed files
with
92 additions
and
85 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