tor-browser

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

commit 80d5e410121a15d0e3632ee293469a858d1c0190
parent e3cddd698ceb0077468214c7dded8b2b5e793b1f
Author: Jamie Nicol <jnicol@mozilla.com>
Date:   Fri, 17 Oct 2025 13:47:45 +0000

Bug 1994982 - Apply Xclipse vertex buffer workaround to Android 15 onwards. r=gfx-reviewers,nical

Originally we enabled this workaround only on Android 15, as the
underlying bug had already been fixed in ANGLE and it was hoped
Android 16 would include that fix. However, Android 16 is now being
rolled out to these devices and contains a version of ANGLE still
affected by the bug.

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

Diffstat:
Mgfx/gl/GLContext.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gfx/gl/GLContext.cpp b/gfx/gl/GLContext.cpp @@ -943,7 +943,7 @@ bool GLContext::InitImpl() { mMaxTexOrRbSize = std::min(mMaxTextureSize, mMaxRenderbufferSize); #ifdef MOZ_WIDGET_ANDROID - if (Renderer() == GLRenderer::SamsungXclipse && jni::GetAPIVersion() == 35) { + if (Renderer() == GLRenderer::SamsungXclipse && jni::GetAPIVersion() >= 35) { // On Samsung Xclipse GPUs on Android 15 attribute values for the final // vertex in a buffer may be incorrect. Padding the buffer to contain // enough space for an additional vertex avoids the issue. See bug 1983036.