-
Notifications
You must be signed in to change notification settings - Fork 143
Asynchronous shader compilation #1209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bghgary
merged 24 commits into
BabylonJS:master
from
glangstonb:async-shader-compilation-js-ready
Mar 8, 2023
Merged
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d7e1d16
Preliminary testing code.
143164a
Code for measuring render loop times.
6cad4f6
Fix test code.
8460274
Refactor experience.js.
38c273a
Preliminary code to separate out shader compilation from CreateProgram.
9257652
Force shader compilation in the test code.
1f04b1c
Make async code work + rename function.
ec25c68
Separate synchronous and asynchronous versions of CreateProgram.
f814deb
Assign the program handle on the Javascript thread.
77f5c19
Restore original experience.js.
1df96a2
Return both the program handle and VertexAttributeLocations from Crea…
209c34a
Throw a proper error after encountering an async shader compilation e…
d4401b7
Simplify error reporting.
678fb49
Preliminary code for movable ProgramData (not working yet).
5e66231
Use unique_ptr to make the Arcana return type work.
eb5a104
Initialize member variables in constructor.
f8c062d
Remove unnecessary release of unique_ptr.
089a278
Leave parameter of nulled operator anonymous.
e1872d5
Indent lambda captures.
2319953
Remove unused lambda capture.
654886c
Remove ProgramData.Disposed.
8f17fb7
Use pattern similar to CreateProgramAsync in CreateProgram.
4977f3e
Use BGFX_INVALID_HANDLE instead of bgfx::kInvalidHandle.
17666c0
Use brace initialization for BGFX handles.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.