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

Unified Diff: content/common/gpu/gpu_channel_manager.cc

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_channel_manager.cc
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc
index 4cec7cb3c8114656a0138f24c144935a56bebb1f..7d26d183995e29436a6fc077b8ab2c49d1397fed 100644
--- a/content/common/gpu/gpu_channel_manager.cc
+++ b/content/common/gpu/gpu_channel_manager.cc
@@ -81,7 +81,9 @@ class GpuChannelManagerMessageFilter : public IPC::MessageFilter {
gfx::GpuMemoryBufferType GetGpuMemoryBufferFactoryType() {
std::vector<gfx::GpuMemoryBufferType> supported_types;
- GpuMemoryBufferFactory::GetSupportedTypes(&supported_types);
+ // TODO(reveman): No support for native PERSISTENT_MAP. crbug.com/489438
+ GpuMemoryBufferFactory::GetSupportedTypes(gfx::GpuMemoryBuffer::MAP,
+ &supported_types);
DCHECK(!supported_types.empty());
return supported_types[0];
}

Powered by Google App Engine
This is Rietveld 408576698