Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-swiftshader: コミット

external/swiftshader


コミットメタ情報

リビジョン0def1021890d0340a10ca0d4bbfb5b650ed747df (tree)
日時2017-08-18 03:16:40
作者Alexis Hetu <sugoi@goog...>
コミッターAlexis Hétu

ログメッセージ

Allow Chromium to create an OpenGL ES3 context

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 <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>

変更サマリ

差分

--- a/BUILD.gn
+++ b/BUILD.gn
@@ -15,7 +15,7 @@
1515 import("//build/config/compiler/compiler.gni")
1616
1717 config("swiftshader_config") {
18- defines = [ "STRICT_CONFORMANCE" ] # Disables OpenGL ES 3.0
18+ defines = []
1919
2020 if (is_win) {
2121 cflags = [
旧リポジトリブラウザで表示