From 6fb0f62d4db8fdf5dece93432d10832114b67b5a Mon Sep 17 00:00:00 2001 From: wangpenglong Date: Tue, 31 Oct 2023 11:21:51 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20FT-2000-4=20kylinos-2203=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=E5=BC=80=E5=90=AFwebgl=E6=B8=B2=E6=9F=93=E6=9C=89?= =?UTF-8?q?=E9=97=AE=E9=A2=98.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workbench/contrib/terminal/browser/xterm/xtermTerminal.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts b/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts index 3b887a07..d71ec577 100644 --- a/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts +++ b/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts @@ -461,7 +461,9 @@ export class XtermTerminal extends DisposableStore implements IXtermTerminal { const debugInfo = checkGl?.getExtension('WEBGL_debug_renderer_info'); if (checkGl && debugInfo) { const renderer = checkGl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL); - if (renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero)')) { + this._logService.debug(`Webgl Webgl renderer=${renderer}`); + if (renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero)') /*x64*/ + || renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (LLVM 10.0.0)') /*FT-2000-4,arm64*/) { this._disableWebglForThisSession(); return; }