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

Unified Diff: content/renderer/gpu/command_buffer_proxy.cc

Issue 7518016: Revert 94743 - Allow the renderer process to map textures from one context into another. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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
« no previous file with comments | « content/renderer/gpu/command_buffer_proxy.h ('k') | content/renderer/gpu/renderer_gl_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/command_buffer_proxy.cc
===================================================================
--- content/renderer/gpu/command_buffer_proxy.cc (revision 94806)
+++ content/renderer/gpu/command_buffer_proxy.cc (working copy)
@@ -349,27 +349,6 @@
swap_buffers_callback_->Run();
}
-bool CommandBufferProxy::MapExternalResource(
- gpu::resource_type::ResourceType resource_type,
- uint32 resource_source_id,
- CommandBufferProxy* source_command_buffer,
- uint32 resource_dest_id) {
- if (last_state_.error != gpu::error::kNoError)
- return false;
-
- if (!Send(new GpuCommandBufferMsg_MapExternalResource(
- route_id_,
- resource_type,
- resource_source_id,
- source_command_buffer ?
- source_command_buffer->route_id() : MSG_ROUTING_NONE,
- resource_dest_id))) {
- return false;
- }
-
- return true;
-}
-
bool CommandBufferProxy::SetParent(CommandBufferProxy* parent_command_buffer,
uint32 parent_texture_id) {
if (last_state_.error != gpu::error::kNoError)
« no previous file with comments | « content/renderer/gpu/command_buffer_proxy.h ('k') | content/renderer/gpu/renderer_gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698