diff options
author | Moonchild <moonchild@palemoon.org> | 2022-10-26 13:52:42 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-10-26 13:52:42 +0000 |
commit | 42d1d20efd5c6167900bf5c67531a0d4b4498183 (patch) | |
tree | f4e777c73f52fff88d63b346867cee96e4526305 /gfx/thebes/gfxPrefs.h | |
parent | 3505c2050a23eaedd2e7faaf89a115b9adcd2e0b (diff) | |
download | uxp-42d1d20efd5c6167900bf5c67531a0d4b4498183.tar.gz |
[WebGL] Implement webgl.max-size-per-texture-mib
Diffstat (limited to 'gfx/thebes/gfxPrefs.h')
-rw-r--r-- | gfx/thebes/gfxPrefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/thebes/gfxPrefs.h b/gfx/thebes/gfxPrefs.h index ac5bdd45a2..389393f8f6 100644 --- a/gfx/thebes/gfxPrefs.h +++ b/gfx/thebes/gfxPrefs.h @@ -591,6 +591,7 @@ private: DECL_GFX_PREF(Once, "webgl.force-layers-readback", WebGLForceLayersReadback, bool, false); DECL_GFX_PREF(Live, "webgl.lose-context-on-memory-pressure", WebGLLoseContextOnMemoryPressure, bool, false); DECL_GFX_PREF(Live, "webgl.max-warnings-per-context", WebGLMaxWarningsPerContext, uint32_t, 32); + DECL_GFX_PREF(Live, "webgl.max-size-per-texture-mb", WebGLMaxSizePerTextureMB, uint32_t, 1024); DECL_GFX_PREF(Live, "webgl.min_capability_mode", WebGLMinCapabilityMode, bool, false); DECL_GFX_PREF(Live, "webgl.msaa-force", WebGLForceMSAA, bool, false); DECL_GFX_PREF(Live, "webgl.prefer-16bpp", WebGLPrefer16bpp, bool, false); |