You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace FinalizationRegistry based Texture Usage GC with Manual Strategy (#27)
- Usaged-Based Texture Memory management now defaults to a new manual
reference count and time threshold strategy.
- This removes the requirement of the FinalizationRegistry browser
feature which is not available prior to chrome 84 / WPE 2.38.
- The prior behavior is still available by setting a new experimental
renderer setting to `true`:
- `experimental_FinalizationRegistryTextureUsageTracker`
- Added `texture-memory-stress` test with instructions on how to
perform.
- Example tests may now export a `customSettings` function which returns
any renderer settings overrides that the test requires to run. These
settings are applied on top of all of the defaults specified by the
example test launcher.
- Improve type checking for EffectDesc
- `type` now determines the specific properties types checked.
- **Breaking changes:**
- Refactor ShaderDesc / TextureDesc related areas including change their
names to ShaderRef / TextureRef.
- RendererMain.makeTexture renamed to RendererMain.createTexture
- RendererMain.makeShader renamed to RendererMain.createShader
- TextureDesc type renamed to TextureRef type
- ShaderDesc type renamed to ShaderRef type
0 commit comments