Index: gpu/command_buffer/service/in_process_command_buffer.h |
diff --git a/gpu/command_buffer/service/in_process_command_buffer.h b/gpu/command_buffer/service/in_process_command_buffer.h |
index af3956a29b312f72247ea789ff083df5d8bb98b0..70fd869ba286ec90e8a4fe9c42e76bbe8772df4a 100644 |
--- a/gpu/command_buffer/service/in_process_command_buffer.h |
+++ b/gpu/command_buffer/service/in_process_command_buffer.h |
@@ -25,6 +25,7 @@ |
#include "gpu/command_buffer/client/gpu_control.h" |
#include "gpu/command_buffer/common/command_buffer.h" |
#include "gpu/command_buffer/service/gpu_preferences.h" |
+#include "gpu/config/gpu_driver_bug_workarounds.h" |
#include "gpu/gpu_export.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -142,7 +143,9 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
class Service { |
public: |
Service(); |
- explicit Service(const gpu::GpuPreferences& gpu_preferences); |
+ explicit Service( |
+ const gpu::GpuPreferences& gpu_preferences, |
+ const gpu::GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); |
virtual ~Service(); |
virtual void AddRef() const = 0; |
@@ -162,6 +165,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
framebuffer_completeness_cache() = 0; |
virtual SyncPointManager* sync_point_manager() = 0; |
const GpuPreferences& gpu_preferences(); |
+ const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds(); |
scoped_refptr<gfx::GLShareGroup> share_group(); |
scoped_refptr<gles2::MailboxManager> mailbox_manager(); |
scoped_refptr<gles2::SubscriptionRefSet> subscription_ref_set(); |
@@ -170,6 +174,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
private: |
const GpuPreferences gpu_preferences_; |
+ const GpuDriverBugWorkarounds gpu_driver_bug_workarounds_; |
scoped_refptr<gfx::GLShareGroup> share_group_; |
scoped_refptr<gles2::MailboxManager> mailbox_manager_; |
scoped_refptr<gles2::SubscriptionRefSet> subscription_ref_set_; |