gpu: Add memory tracing of GPU transfer buffers.
commit0cf65ee8d575fe1b904790a819387bbc63520bcf
authorreveman <reveman@chromium.org>
Tue, 25 Aug 2015 22:15:24 +0000 (25 15:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Aug 2015 22:16:03 +0000 (25 22:16 +0000)
treedc8d1cee3b780b445d9a0792b3997c65e579ab13
parent90685ba0c19e0de94116eb4eac5a6d355e1aac20
gpu: Add memory tracing of GPU transfer buffers.

This implements client and service side tracing of transfer buffers
used by the chromium GPU service.

Note that initialization of the TransferBufferManager is moved to
ContextGroup::Initialize as part of this patch as that allows the
dump provider registration logic in TransferBufferManager to be
consistent with BufferManager, TextureManager, etc. without breaking
any tests.

BUG=523336

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

Cr-Commit-Position: refs/heads/master@{#345454}
33 files changed:
components/view_manager/gles2/command_buffer_driver.cc
components/view_manager/gles2/command_buffer_local.cc
content/common/gpu/client/gpu_channel_host.cc
content/common/gpu/client/gpu_channel_host.h
content/common/gpu/gpu_command_buffer_stub.cc
gpu/command_buffer/client/cmd_buffer_helper.cc
gpu/command_buffer/client/cmd_buffer_helper.h
gpu/command_buffer/client/cmd_buffer_helper_test.cc
gpu/command_buffer/client/fenced_allocator.cc
gpu/command_buffer/client/fenced_allocator.h
gpu/command_buffer/client/fenced_allocator_test.cc
gpu/command_buffer/client/gles2_implementation.cc
gpu/command_buffer/client/gles2_implementation.h
gpu/command_buffer/client/gles2_implementation_unittest.cc
gpu/command_buffer/client/mapped_memory.cc
gpu/command_buffer/client/mapped_memory.h
gpu/command_buffer/client/mapped_memory_unittest.cc
gpu/command_buffer/client/ring_buffer.cc
gpu/command_buffer/client/ring_buffer.h
gpu/command_buffer/client/ring_buffer_test.cc
gpu/command_buffer/client/transfer_buffer.cc
gpu/command_buffer/client/transfer_buffer.h
gpu/command_buffer/common/buffer.cc
gpu/command_buffer/common/buffer.h
gpu/command_buffer/service/command_buffer_service_unittest.cc
gpu/command_buffer/service/context_group.cc
gpu/command_buffer/service/context_group.h
gpu/command_buffer/service/in_process_command_buffer.cc
gpu/command_buffer/service/transfer_buffer_manager.cc
gpu/command_buffer/service/transfer_buffer_manager.h
gpu/command_buffer/service/transfer_buffer_manager_unittest.cc
gpu/command_buffer/tests/gl_manager.cc
gpu/gles2_conform_support/egl/display.cc