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

Unified Diff: gpu/ipc/service/gpu_channel_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
« no previous file with comments | « gpu/ipc/service/gpu_channel.cc ('k') | gpu/ipc/service/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_manager.h
diff --git a/gpu/ipc/service/gpu_channel_manager.h b/gpu/ipc/service/gpu_channel_manager.h
index 9b39cda81be774e5079d9294317d4ab84e1933e9..fe3dd062cb4d29ee827869f27b38cbcdb27c5e25 100644
--- a/gpu/ipc/service/gpu_channel_manager.h
+++ b/gpu/ipc/service/gpu_channel_manager.h
@@ -18,6 +18,7 @@
#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
#include "gpu/command_buffer/common/constants.h"
+#include "gpu/config/gpu_driver_bug_workarounds.h"
#include "gpu/gpu_export.h"
#include "gpu/ipc/service/gpu_memory_manager.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -121,6 +122,9 @@ class GPU_EXPORT GpuChannelManager {
const GpuPreferences& gpu_preferences() const {
return gpu_preferences_;
}
+ const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds() const {
+ return gpu_driver_bug_workarounds_;
+ }
gles2::ProgramCache* program_cache();
gles2::ShaderTranslatorCache* shader_translator_cache();
gles2::FramebufferCompletenessCache* framebuffer_completeness_cache();
@@ -189,6 +193,7 @@ class GPU_EXPORT GpuChannelManager {
#endif
const GpuPreferences& gpu_preferences_;
+ GpuDriverBugWorkarounds gpu_driver_bug_workarounds_;
GpuChannelManagerDelegate* const delegate_;
#if defined(OS_MACOSX)
« no previous file with comments | « gpu/ipc/service/gpu_channel.cc ('k') | gpu/ipc/service/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698