Remove CommandBuffer::GetTransferBuffer.
commit046fa1ac81455233e53b629f2160ca9eab08e741
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 09:06:43 +0000 (1 09:06 +0000)
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 09:06:43 +0000 (1 09:06 +0000)
treeb9376b2320f2fd801a71580f9325bf31ee950359
parent966a3c6eda39c487da641e1b5e4ccba06802e3ba
Remove CommandBuffer::GetTransferBuffer.

The only time we call GetTransferBuffer is on Pepper, right after
CreateTransferBuffer, so combine the two. This lets us dramatically remove all
the maintenance burden (maps) and extra IPCs.

Also separate service-only calls out of CommandBuffer, into CommandBufferServiceBase

BUG=None

Review URL: https://codereview.chromium.org/215803002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260806 0039d316-1c4b-4281-b951-d872f2087c98
27 files changed:
content/common/gpu/client/command_buffer_proxy_impl.cc
content/common/gpu/client/command_buffer_proxy_impl.h
content/common/gpu/gpu_command_buffer_stub.cc
content/common/gpu/gpu_messages.h
content/renderer/pepper/ppb_graphics_3d_impl.cc
content/renderer/pepper/ppb_graphics_3d_impl.h
gpu/command_buffer/client/client_test_helper.h
gpu/command_buffer/common/command_buffer.h
gpu/command_buffer/common/command_buffer_mock.h
gpu/command_buffer/service/command_buffer_service.h
gpu/command_buffer/service/gpu_scheduler.cc
gpu/command_buffer/service/gpu_scheduler.h
gpu/command_buffer/service/in_process_command_buffer.cc
gpu/command_buffer/service/in_process_command_buffer.h
mojo/examples/pepper_container_app/graphics_3d_resource.cc
mojo/examples/pepper_container_app/graphics_3d_resource.h
mojo/gles2/command_buffer_client_impl.cc
mojo/gles2/command_buffer_client_impl.h
mojo/mojo_examples.gypi
ppapi/proxy/nacl_message_scanner.cc
ppapi/proxy/nacl_message_scanner_unittest.cc
ppapi/proxy/ppapi_command_buffer_proxy.cc
ppapi/proxy/ppapi_command_buffer_proxy.h
ppapi/proxy/ppapi_messages.h
ppapi/proxy/ppb_graphics_3d_proxy.cc
ppapi/proxy/ppb_graphics_3d_proxy.h
ppapi/thunk/ppb_graphics_3d_api.h