mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Issue #1877 - Resolve RELEASE_OR_BETA conditionals.
This commit is contained in:
parent
93c90e371b
commit
d4eac725fd
30 changed files with 75 additions and 144 deletions
|
|
@ -352,12 +352,9 @@ private:
|
|||
#if defined(ANDROID)
|
||||
DECL_GFX_PREF(Once, "gfx.apitrace.enabled", UseApitrace, bool, false);
|
||||
#endif
|
||||
#if defined(RELEASE_OR_BETA)
|
||||
// "Skip" means this is locked to the default value in beta and release.
|
||||
DECL_GFX_PREF(Skip, "gfx.blocklist.all", BlocklistAll, int32_t, 0);
|
||||
#else
|
||||
// Tweaking/debug pref: -1 = ignore active blocklist entry, 0 = normal, 1 = block all features
|
||||
DECL_GFX_PREF(Once, "gfx.blocklist.all", BlocklistAll, int32_t, 0);
|
||||
#endif
|
||||
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.auto_accelerate.min_calls", CanvasAutoAccelerateMinCalls, int32_t, 4);
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.auto_accelerate.min_frames", CanvasAutoAccelerateMinFrames, int32_t, 30);
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.auto_accelerate.min_seconds", CanvasAutoAccelerateMinSeconds, float, 5.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue