mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
Enable shader JIT by default on arm64 desktop + Android
This commit is contained in:
parent
0e4079f304
commit
31902e92a9
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
// Remember to initialize every field here to its default value otherwise bad things will happen
|
// Remember to initialize every field here to its default value otherwise bad things will happen
|
||||||
struct EmulatorConfig {
|
struct EmulatorConfig {
|
||||||
// Only enable the shader JIT by default on platforms where it's completely tested
|
// Only enable the shader JIT by default on platforms where it's completely tested
|
||||||
#ifdef PANDA3DS_X64_HOST
|
#if defined(PANDA3DS_X64_HOST) || defined(PANDA3DS_ARM64_HOST)
|
||||||
static constexpr bool shaderJitDefault = true;
|
static constexpr bool shaderJitDefault = true;
|
||||||
#else
|
#else
|
||||||
static constexpr bool shaderJitDefault = false;
|
static constexpr bool shaderJitDefault = false;
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class GlobalConfig {
|
||||||
|
|
||||||
public static DataModel data;
|
public static DataModel data;
|
||||||
|
|
||||||
public static final Key<Boolean> KEY_SHADER_JIT = new Key<>("emu.shader_jit", false);
|
public static final Key<Boolean> KEY_SHADER_JIT = new Key<>("emu.shader_jit", true);
|
||||||
public static final Key<Boolean> KEY_PICTURE_IN_PICTURE = new Key<>("app.behavior.pictureInPicture", false);
|
public static final Key<Boolean> KEY_PICTURE_IN_PICTURE = new Key<>("app.behavior.pictureInPicture", false);
|
||||||
public static final Key<Boolean> KEY_SHOW_PERFORMANCE_OVERLAY = new Key<>("dev.performanceOverlay", false);
|
public static final Key<Boolean> KEY_SHOW_PERFORMANCE_OVERLAY = new Key<>("dev.performanceOverlay", false);
|
||||||
public static final Key<Boolean> KEY_LOGGER_SERVICE = new Key<>("dev.loggerService", false);
|
public static final Key<Boolean> KEY_LOGGER_SERVICE = new Key<>("dev.loggerService", false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue