Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: gpu/command_buffer/tests/gl_unittest.cc

Issue 1871613002: Compute GpuDriverBugWorkarounds only one time in the GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/tests/gl_request_extension_unittest.cc ('k') | gpu/config/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_unittest.cc b/gpu/command_buffer/tests/gl_unittest.cc
index b7fcad69558712793a8c85613d5db4dce2265300..fdfca09ca90e4fc66bb479f55793b25639d3dc81 100644
--- a/gpu/command_buffer/tests/gl_unittest.cc
+++ b/gpu/command_buffer/tests/gl_unittest.cc
@@ -99,7 +99,8 @@ TEST_F(GLTest, SimpleShader) {
}
TEST_F(GLTest, FeatureFlagsMatchCapabilities) {
- scoped_refptr<gles2::FeatureInfo> features = new gles2::FeatureInfo;
+ scoped_refptr<gles2::FeatureInfo> features =
+ new gles2::FeatureInfo(gl_.workarounds());
EXPECT_TRUE(features->InitializeForTesting());
const auto& caps = gl_.GetCapabilities();
const auto& flags = features->feature_flags();
« no previous file with comments | « gpu/command_buffer/tests/gl_request_extension_unittest.cc ('k') | gpu/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698