Commit 47b96da1 authored by Vasiliy Telezhnikov's avatar Vasiliy Telezhnikov Committed by Commit Bot

Raised emulated GL version to 3.2 for disable_es3_gl_context_for_testing

When disable_es3_gl_context_for_testing is used we force GLVersionInfo
to believe that ES3 is not supported by current hardware/driver.
Previously it was forcing desktop GL version to 3.0 which doesn't seem to
work with Skia. Forcing it to 3.2 achieves the same for test but don't
cause any other problems in graphics stack.

Bug: 984110
Change-Id: I06d8074eb3e564d2007d9bc8395d53e70dd04c43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1723801Reviewed-by: default avatarJonathan Backer <backer@chromium.org>
Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#682256}
parent 6ad84b4c
...@@ -79,7 +79,7 @@ void GLVersionInfo::Initialize(const char* version_str, ...@@ -79,7 +79,7 @@ void GLVersionInfo::Initialize(const char* version_str,
is_es3 = false; is_es3 = false;
} else { } else {
major_version = 3; major_version = 3;
minor_version = 0; minor_version = 2;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment