Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 6ee1a8e

Browse files
authored
Bump GV to v77.0.20200428100141 (#3271)
1 parent aa509ac commit 6ee1a8e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

app/src/common/shared/org/mozilla/vrbrowser/browser/SettingsStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ SettingsStore getInstance(final @NonNull Context aContext) {
8484
public final static int POINTER_COLOR_DEFAULT_DEFAULT = Color.parseColor("#FFFFFF");
8585
public final static int SCROLL_DIRECTION_DEFAULT = 0;
8686
public final static String ENV_DEFAULT = "offworld";
87-
public final static int MSAA_DEFAULT_LEVEL = 1;
87+
public final static int MSAA_DEFAULT_LEVEL = 0;
8888
public final static boolean AUDIO_ENABLED = false;
8989
public final static float CYLINDER_DENSITY_ENABLED_DEFAULT = 4680.0f;
9090
private final static long CRASH_RESTART_DELTA = 2000;

app/src/common/shared/org/mozilla/vrbrowser/browser/engine/SessionUtils.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ public static void vrPrefsWorkAround(Context aContext, Bundle aExtras) {
5454
int msaa = SettingsStore.getInstance(aContext).getMSAALevel();
5555
if (msaa > 0) {
5656
int msaaLevel = msaa == 2 ? 4 : 2;
57-
out.write(("pref(\"gl.msaa-level\"," + msaaLevel + ");\n").getBytes());
57+
out.write(("pref(\"webgl.msaa-samples\"," + msaaLevel + ");\n").getBytes());
58+
out.write("pref(\"webgl.msaa-force\", true);\n".getBytes());
59+
} else {
60+
out.write("pref(\"webgl.msaa-force\", false);\n".getBytes());
5861
}
5962
addOptionalPref(out, "dom.vr.require-gesture", aExtras);
6063
addOptionalPref(out, "privacy.reduceTimerPrecision", aExtras);

app/src/main/res/values/non_L10n.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<string name="settings_key_env" translatable="false">settings_env</string>
2525
<string name="settings_key_pointer_color" translatable="false">settings_pointer_color</string>
2626
<string name="settings_key_scroll_direction" translatable="false">settings_scroll_direction</string>
27-
<string name="settings_key_msaa" translatable="false">settings_gfx_msaa</string>
27+
<string name="settings_key_msaa" translatable="false">settings_gfx_msaa_v2</string>
2828
<string name="settings_key_audio" translatable="false">settings_audio</string>
2929
<string name="settings_key_voice_search_language" translatable="false">settings_voice_search_language</string>
3030
<string name="settings_key_display_language" translatable="false">settings_display_language</string>

versions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ext.deps = [:]
2424
def versions = [:]
2525
// GeckoView versions can be found here:
2626
// https://maven.mozilla.org/?prefix=maven2/org/mozilla/geckoview/
27-
versions.gecko_view = "77.0.20200422093542"
27+
versions.gecko_view = "77.0.20200428100141"
2828
versions.android_components = "28.0.1"
2929
// Note that android-components also depends on application-services,
3030
// and in fact is our main source of appservices-related functionality.

0 commit comments

Comments
 (0)