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) |