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

Unified Diff: gpu/command_buffer/service/context_group.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: 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/service/context_group.h
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
index b4d861a8f6eca0cc5cce397c610c100a5dac46e9..6850c543c522bff0bd0c033fcb0100ea95b34a1d 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -25,6 +25,7 @@
namespace gpu {
struct GpuPreferences;
+struct GpuDriverBugWorkarounds;
class TransferBufferManager;
class ValueStateMap;
@@ -52,6 +53,7 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
public:
ContextGroup(
const GpuPreferences& gpu_preferences,
+ const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds,
const scoped_refptr<MailboxManager>& mailbox_manager,
const scoped_refptr<MemoryTracker>& memory_tracker,
const scoped_refptr<ShaderTranslatorCache>& shader_translator_cache,

Powered by Google App Engine
This is Rietveld 408576698