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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 205193006: gpu: Remove map_image field from gpu::Capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move TODO Created 6 years, 9 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/command_buffer_proxy_impl.cc
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
index 904e5b06b4a293fbe62bc4c7e86f44e265629a6a..393e74335d36a6c9d97abb835734dda88155db3e 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
@@ -166,8 +166,6 @@ bool CommandBufferProxyImpl::Initialize() {
return false;
}
- capabilities_.map_image = true;
-
return true;
}
@@ -381,10 +379,6 @@ void CommandBufferProxyImpl::SetContextLostReason(
NOTREACHED();
}
-gpu::Capabilities CommandBufferProxyImpl::GetCapabilities() {
- return capabilities_;
-}
-
gfx::GpuMemoryBuffer* CommandBufferProxyImpl::CreateGpuMemoryBuffer(
size_t width,
size_t height,

Powered by Google App Engine
This is Rietveld 408576698