Skip to content

Added minimal change to allow v8 to shut down correctly. - #144

Merged
syntheticmagus merged 1 commit into
BabylonJS:masterfrom
syntheticmagus:v8ShutdownFix
Jan 31, 2020
Merged

Added minimal change to allow v8 to shut down correctly.#144
syntheticmagus merged 1 commit into
BabylonJS:masterfrom
syntheticmagus:v8ShutdownFix

Conversation

@syntheticmagus

Copy link
Copy Markdown
Contributor

No description provided.

@syntheticmagus
syntheticmagus merged commit 8cb0748 into BabylonJS:master Jan 31, 2020
@syntheticmagus
syntheticmagus deleted the v8ShutdownFix branch January 31, 2020 02:13
bkaradzic-microsoft added a commit that referenced this pull request Sep 1, 2026
…ings) (#1857)

## Summary
Bumps `bgfx.cmake` to `9a569c775917e3dd2a8cfb8836aeddbe790a8deb` (bgfx
`0837ead` via BabylonJS/bgfx#78 / bgfx.cmake#144) and adapts Babylon
Native to the Graphics/shader packaging changes in that range.

### API adaptations
- **Blit / read**: `encoder.blit` / `bgfx::blit` take `TextureRegion`
pairs; `bgfx::readTexture` → `bgfx::read(TextureRegion, data)`. Updated
in `FrameBuffer`, `DeviceImpl`, `NativeCapture`, `NativeEngine`.
- **Shader binary v12**: `CreateBgfxShader` writes
`BGFX_SHADER_BIN_VERSION = 12`, raw SRV/UAV masks, and per-uniform
`texComponent` / `texDimension` / `texFormat`. Canvas precompiled
headers bumped v11 → v12 accordingly.
- **Vulkan v12 binding model**: rewrite glslang bindings to match
shaderc (`Frame` UBO 0/1, images at `sharedBinding + 2`, samplers at
`image + 16`); package `separate_images` with real `regIndex`. Shared
`SamplerSplitter` bindings are preserved across VS/FS (not compacted
per-stage).
- **Depth RT formats**: depth-only FB prefers `D32F` → `D24` → `D24S8`
(Android stays `D24S8`). Public `BackBufferDepthStencilFormat::Depth32`
maps to `D32F` (plain `D32` has no DSV on D3D11/12).
- **ShaderCache**: `CACHE_VERSION` 4 → 5 so stale v6/v11 packages are
not served to bgfx v12.

### Upstream pins pulled in
| Repo | Change |
|------|--------|
| BabylonJS/bgfx#77 | UWP: QI `IDXGISwapChain2` before
`SetMaximumFrameLatency` |
| BabylonJS/bgfx#78 | Define local `IID_IDXGISwapChain2` GUID (fix
LNK2001) |
| BabylonJS/bgfx.cmake#143/#144 | Submodule bumps for the above |

### Local validation (Win32 Debug)
- Nested BBG, thin-instance / motion-blur suite: pass
- Playground link after GUID fix: pass

### Test plan
- [x] Configure + build Playground Debug (Win32)
- [x] Headless Nested BBG + motion-blur / thin-instance suite
- [x] CI full platform matrix (green on `14c0b36d`; re-run after this
review fix)

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d47cbab2-d751-4cf9-984f-4412dd9ec601
CedricGuillemet added a commit to CedricGuillemet/BabylonNative that referenced this pull request Sep 2, 2026
371d90098b Use zero depth to mean not a volume texture. (BabylonJS#150)
b8cef564e3 texturec: Added positional arguments. (BabylonJS#149)
3b4baab012 Add BC4S, BC5S, BC6HU, RGB10A2U and D32FS8 texture formats. (BabylonJS#148)
0a64629d9f Updated tintexr. (BabylonJS#147)
e95c449452 Updated stb_image. (BabylonJS#146)
da38bface6 Fixed bounds check, and EXR channel pixel type. (BabylonJS#145)
be16d98e34 Updated simplewebp. (BabylonJS#144)

git-subtree-dir: Dependencies/bimg
git-subtree-split: 371d90098b1fd017cd00205979d5ef74b8c3ed62
CedricGuillemet added a commit to CedricGuillemet/BabylonNative that referenced this pull request Sep 2, 2026
9a569c7759 Merge pull request BabylonJS#144 from BabylonJS/bump/bgfx-swapchain2-guid
96add67bf0 Bump bgfx for IID_IDXGISwapChain2 GUID fix
ede5513a6b Merge pull request BabylonJS#143 from BabylonJS/bump/bgfx-uwp-frame-latency
67b4b74122 Bump bgfx for UWP IDXGISwapChain2 frame-latency fix
1a135dbf90 Updated bgfx and bx. (BabylonJS#142)
9e56bab412 Updated bgfx, bimg and bx. (BabylonJS#141)
865b8e6afe Updated bgfx. (BabylonJS#140)
06755e6bb8 Updated bgfx, bimg and bx. (BabylonJS#139)
f7333d92a0 Forward the remaining allocation-sizing BGFX_CONFIG_ settings (BabylonJS#138)
e7773eed1d Honor BGFX_CONFIG_ settings set by a parent project (BabylonJS#137)
5c98749de4 Merge pull request BabylonJS#135 from BabylonJS/sergio/sse4-minspec-x86-slices
92961f9ac4 Updated bgfx and bimg. (BabylonJS#136)
9d89f09347 Apply bx's SSE4.2 minspec to every x86 target, not just x86_64
6c5515826c Don't let -Xarch_x86_64 break Apple builds that use -Werror. (BabylonJS#134)
7062f1109a Fix arm64 builds: Apple SSE minspec and MSVC ARM64 (BabylonJS#133)
44adc64c88 Updated bgfx and bx. (BabylonJS#131)
8f7e445593 Merge pull request BabylonJS#130 from SergioRZMasson/fix-x86_64-sse-minspec
dd5bb1c019 Bump bx submodule to include the Windows platform.h fixes
191b723258 Propagate bx's x86_64 SSE4.2 minspec to the bx target
3b67f0c0c5 Updated bx, and bimg. (BabylonJS#129)
4c244b1a9f Updated bgfx, bimg, bx. (BabylonJS#128)

git-subtree-dir: Dependencies/bgfx.cmake
git-subtree-split: 9a569c775917e3dd2a8cfb8836aeddbe790a8deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants