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

Unified Diff: gpu/command_buffer/tests/gl_manager.h

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
Index: gpu/command_buffer/tests/gl_manager.h
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h
index b6acf4d58df772cfc91440f2a1160cbb1a0bc625..4819e4c5f5b234fe3787c5165015cfd9fef2b006 100644
--- a/gpu/command_buffer/tests/gl_manager.h
+++ b/gpu/command_buffer/tests/gl_manager.h
@@ -84,7 +84,7 @@ class GLManager : private GpuControl {
void Initialize(const Options& options);
void InitializeWithCommandLine(const Options& options,
- base::CommandLine* command_line);
+ const base::CommandLine& command_line);
void Destroy();
bool IsInitialized() const { return gles2_implementation() != nullptr; }
@@ -119,7 +119,7 @@ class GLManager : private GpuControl {
return context_.get();
}
- const gpu::gles2::FeatureInfo::Workarounds& workarounds() const;
+ const GpuDriverBugWorkarounds& workarounds() const;
// GpuControl implementation.
void SetGpuControlClient(GpuControlClient*) override;
« no previous file with comments | « gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698