tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c000d84caf4074b7bd557d80ecf2a097a3fc87ce
parent 4a6bd983d4de64c745e2afba4b74c28847403bdf
Author: Gregory Pappas <gp3033@protonmail.com>
Date:   Fri, 21 Nov 2025 21:01:05 +0000

Bug 1484794 - Remove gfx.android.rgb16.force pref r=gfx-reviewers,lsalzman

Differential Revision: https://phabricator.services.mozilla.com/D273374

Diffstat:
Mgfx/thebes/gfxAndroidPlatform.cpp | 4----
Mgfx/thebes/gfxPlatform.cpp | 4+---
Mmodules/libpref/init/StaticPrefList.yaml | 6------
3 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/gfx/thebes/gfxAndroidPlatform.cpp b/gfx/thebes/gfxAndroidPlatform.cpp @@ -158,10 +158,6 @@ gfxAndroidPlatform::gfxAndroidPlatform() { int32_t screenDepth = 0; mOffscreenFormat = screenDepth == 16 ? SurfaceFormat::R5G6B5_UINT16 : SurfaceFormat::X8R8G8B8_UINT32; - - if (StaticPrefs::gfx_android_rgb16_force_AtStartup()) { - mOffscreenFormat = SurfaceFormat::R5G6B5_UINT16; - } } gfxAndroidPlatform::~gfxAndroidPlatform() { diff --git a/gfx/thebes/gfxPlatform.cpp b/gfx/thebes/gfxPlatform.cpp @@ -874,9 +874,7 @@ void gfxPlatform::Init() { StaticPrefs::webgl_disable_angle(), StaticPrefs::webgl_dxgl_enabled(), StaticPrefs::webgl_force_enabled(), StaticPrefs::webgl_msaa_force()); // Prefs that don't fit into any of the other sections - forcedPrefs.AppendPrintf("-T%d%d) ", - StaticPrefs::gfx_android_rgb16_force_AtStartup(), - StaticPrefs::gfx_canvas_accelerated()); + forcedPrefs.AppendPrintf("-T%d) ", StaticPrefs::gfx_canvas_accelerated()); ScopedGfxFeatureReporter::AppNote(forcedPrefs); } diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml @@ -6617,12 +6617,6 @@ # Prefs starting with "gfx." #--------------------------------------------------------------------------- -# Allow 24-bit colour when the hardware supports it. -- name: gfx.android.rgb16.force - type: bool - value: false - mirror: once - - name: gfx.apitrace.enabled type: bool value: false