From 0def1021890d0340a10ca0d4bbfb5b650ed747df Mon Sep 17 00:00:00 2001 From: Alexis Hetu Date: Wed, 16 Aug 2017 17:15:48 -0400 Subject: [PATCH] Allow Chromium to create an OpenGL ES3 context MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Removing the "STRICT_CONFORMANCE" restriction from Chromium. This allows OpenGL ES3 context creation when using the flag "--use-gl=swiftshader", which is the case when running layout tests. This does not allow WebGL 2 content to be used when using the flag "--disable-gpu". This will require extra validation on the Chromium side. Change-Id: Ic4770c1acbc454a954e1ce813ebed9ed3aee5cd2 Reviewed-on: https://swiftshader-review.googlesource.com/11750 Tested-by: Alexis Hétu Reviewed-by: Nicolas Capens Reviewed-by: Alexis Hétu --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 39f72cb33..0ef68d9d8 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -15,7 +15,7 @@ import("//build/config/compiler/compiler.gni") config("swiftshader_config") { - defines = [ "STRICT_CONFORMANCE" ] # Disables OpenGL ES 3.0 + defines = [] if (is_win) { cflags = [ -- 2.11.0