-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[renderer] implement map[buffer|image]
implement a method for transfer encoder to map memory directly. this allows us to forego unnecessary extra allocations- especially when decoding images: 1. map memory for image upload 2. read pixels into directly this memory you must not access the mapped memory regions outside the current transfer pass - but that's fine - renderpasses should be read-only when it comes to the outside world, and they certainly are not allowed to persistently store any temporary objects that they have acquired.
- Loading branch information
Showing
3 changed files
with
94 additions
and
1 deletion.
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