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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory.h

Issue 1139903005: Add PERSISTENT_MAP usage for GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: persistentmap: . Created 5 years, 7 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/gpu_memory_buffer_factory.h
diff --git a/content/common/gpu/gpu_memory_buffer_factory.h b/content/common/gpu/gpu_memory_buffer_factory.h
index 5eb0dfce1a93775074ca79fb72d16d38acee522a..99517218f011ca19a34a2c5c61e40e1982ab1394 100644
--- a/content/common/gpu/gpu_memory_buffer_factory.h
+++ b/content/common/gpu/gpu_memory_buffer_factory.h
@@ -35,7 +35,8 @@ class CONTENT_EXPORT GpuMemoryBufferFactory {
// Gets system supported GPU memory buffer factory types. Preferred type at
// the front of vector.
- static void GetSupportedTypes(std::vector<gfx::GpuMemoryBufferType>* types);
+ static void GetSupportedTypes(gfx::GpuMemoryBuffer::Usage usage,
+ std::vector<gfx::GpuMemoryBufferType>* types);
reveman 2015/05/19 16:12:12 I'd rather not change this function. It might be r
// Creates a new factory instance for |type|.
static scoped_ptr<GpuMemoryBufferFactory> Create(

Powered by Google App Engine
This is Rietveld 408576698