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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.h

Issue 2106103005: Revert of Pass initial size and GPU preference via context attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: content/common/gpu/client/context_provider_command_buffer.h
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h
index 9ec79ab109cdb5c5becb2563b3fe0426baf20f2a..709289e0b2ab19dfad6c8cc012c1b3e53c7e7c82 100644
--- a/content/common/gpu/client/context_provider_command_buffer.h
+++ b/content/common/gpu/client/context_provider_command_buffer.h
@@ -53,6 +53,7 @@
gpu::GpuStreamPriority stream_priority,
gpu::SurfaceHandle surface_handle,
const GURL& active_url,
+ gl::GpuPreference gpu_preference,
bool automatic_flushes,
bool support_locking,
const gpu::SharedMemoryLimits& memory_limits,
@@ -111,6 +112,7 @@
const gpu::GpuStreamPriority stream_priority_;
const gpu::SurfaceHandle surface_handle_;
const GURL active_url_;
+ const gl::GpuPreference gpu_preference_;
const bool automatic_flushes_;
const bool support_locking_;
const gpu::SharedMemoryLimits memory_limits_;

Powered by Google App Engine
This is Rietveld 408576698