-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2822: Rework of gl memory / buffer handling r=kvark a=kyren Allocates native buffers to back memory as soon as allocate_memory is called, hal buffers become logical sub-ranges of native buffers. This is still WIP, there is a lot of room for improvement here. Separate INDEX memory could be reserved only for webgl, there could be separate upload / download memory, and the end of buffer sub-ranges could be checked with asserts in debug mode. Fixes #2812 PR checklist: - [x] `make` succeeds (on *nix) - [x] `make reftests` succeeds - [x] tested examples with the following backends: gl - [ ] `rustfmt` run on changed code Co-authored-by: kyren <kerriganw@gmail.com>
- Loading branch information
Showing
9 changed files
with
463 additions
and
224 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
Oops, something went wrong.