-
Notifications
You must be signed in to change notification settings - Fork 157
Add synchronous CreateForJavaScript and deprecate AddToContextAsync in ExternalTexture #1646
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 45 commits into
BabylonJS:master
from
bghgary:external-texture-render-test
Jun 9, 2026
Merged
Changes from 26 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
3b32c52
Add external texture array render test and fix numLayers bug
bghgary 117f588
Fix Update signature on Metal, D3D12, and OpenGL backends
bghgary e616594
Update all callers to use new sync ExternalTexture API
bghgary 2628906
Fix D3D12/Linux builds: guard RenderDoc for D3D11 only, update all ca…
bghgary 0c45a8c
Fix OpenGL build: use portable cast for TextureT to uintptr_t
bghgary 271adaa
Make RenderDoc support API-agnostic (D3D11, D3D12, Vulkan, OpenGL)
bghgary e103f3e
Remove accidentally committed test artifact
bghgary bb4ec86
Fix test ordering: finish frame before destroying native texture
bghgary a1e534c
Add shaderCache.bin to .gitignore
bghgary 38590d9
Fix startup ordering: wait for JS before ending frame
bghgary 92a533c
Fix CI crashes: simplify D3D11 test, revert to single-call texture cr…
bghgary 752cfb8
Fix duplicate test name: rename to CreateForJavaScriptD3D11
bghgary dfb4018
Remove D3D11-specific ExternalTexture test (covered by cross-platform…
bghgary 1114f20
Log bgfx fatal errors to stderr before crashing
bghgary 0e3f97b
Enable D3D debug layer on CI and revert to _external texture path
bghgary ba78cdf
Skip render test on CI (WARP SRV issue), keep _external path
bghgary 0d96409
Use overrideInternal for CreateForJavaScript (fixes WARP)
bghgary 3e3abfc
Add extra frame pump in PrecompiledShaderTest for overrideInternal
bghgary 0b309bc
Fix Install CMake, add frame pump to all ExternalTexture callers
bghgary 16a3324
Merge remote-tracking branch 'origin/master' into external-texture-re…
bghgary 0c1f999
Revert WARP workaround: bgfx update (#1669) fixed CreateShaderResourc…
bghgary a92a2f5
Cleanup: drop stale overrideInternal references
bghgary 804a5f0
Revert shaderCache.bin .gitignore (out of scope; fixed in separate PR)
bghgary d78c3e1
Run render tests on Win32 CI
bghgary a641589
Merge remote-tracking branch 'origin/master' into external-texture-re…
bghgary 80676a5
Address review feedback
bghgary f667490
Address reviewer feedback
bghgary ac6ba6e
Address reviewer feedback round 2
bghgary e453e9d
Wait for JS Dispatch before finishing frame in ExternalTexture tests.
bghgary dd75619
Add regression test for ExternalTexture::CreateForJavaScript recursiv…
bghgary 415f193
Resolve DeviceContext before locking impl in CreateForJavaScript
bghgary 2d3e549
Skip ExternalTexture lock-probe test on JSI build
bghgary 148df39
Remove ExternalTexture lock-probe regression test
bghgary 04bfb6b
Encapsulate ExternalTexture::Impl mutex inside the impl
bghgary bac5c8e
Inline static_cast in CreateTexture
bghgary d896a50
Merge remote-tracking branch 'origin/master' into external-texture-re…
bghgary f05f430
Merge master into external-texture-render-test
bghgary 605cd90
Tests.ExternalTexture.Msaa: migrate to synchronous CreateForJavaScript
bghgary 46bb02e
Bump bgfx.cmake to 940054e1 for the setTexture view API
bghgary ac05353
Add single-slice layer selection to ExternalTexture
bghgary b7ad872
Add NV12 single-slice ExternalTexture render test
bghgary 2aacb56
Merge remote-tracking branch 'origin/master' into 1646-greenbug
bghgary 8c27c87
Revert "Add NV12 single-slice ExternalTexture render test"
bghgary 2876eb1
Merge master into external-texture-render-test
bghgary c75319f
Complete sync CreateForJavaScript migration after master merge
bghgary 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
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
Oops, something went wrong.
Oops, something went wrong.
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.