gpu: Associate all GpuMemoryBuffers with unique IDs.
commit510a6e058b4b3783dd7c9af18572d9a97fb257f6
authorreveman <reveman@chromium.org>
Wed, 5 Nov 2014 00:59:18 +0000 (4 16:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Nov 2014 00:59:33 +0000 (5 00:59 +0000)
tree07aeaafc4ef5a4b14fac886795efb75accbf8740
parent81b026f37c0ad44b071b2bab6903be2e7af375f5
gpu: Associate all GpuMemoryBuffers with unique IDs.

This makes the GpuMemoryBufferManager instance on the browser
side allocate ids. The result is that each id is unique and
that makes management much easier. This also allows some more
concrete handling of the client id used for GPU service side
allocation of buffers.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#302726}
54 files changed:
content/app/android/child_process_service.cc
content/browser/android/browser_surface_texture_manager.cc
content/browser/android/browser_surface_texture_manager.h
content/browser/gpu/browser_gpu_memory_buffer_manager.cc
content/browser/gpu/browser_gpu_memory_buffer_manager.h
content/browser/gpu/gpu_memory_buffer_factory_host_impl.cc
content/browser/gpu/gpu_memory_buffer_factory_host_impl.h
content/browser/gpu/gpu_process_host.cc
content/browser/gpu/gpu_process_host.h
content/browser/renderer_host/render_message_filter.cc
content/browser/renderer_host/render_message_filter.h
content/child/child_gpu_memory_buffer_manager.cc
content/common/android/surface_texture_manager.h
content/common/child_process_host_impl.cc
content/common/child_process_host_impl.h
content/common/child_process_messages.h
content/common/gpu/client/gpu_channel_host.cc
content/common/gpu/client/gpu_channel_host.h
content/common/gpu/client/gpu_memory_buffer_factory_host.h
content/common/gpu/client/gpu_memory_buffer_impl.cc
content/common/gpu/client/gpu_memory_buffer_impl.h
content/common/gpu/client/gpu_memory_buffer_impl_android.cc
content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
content/common/gpu/client/gpu_memory_buffer_impl_linux.cc
content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
content/common/gpu/client/gpu_memory_buffer_impl_ozone.cc
content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc
content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
content/common/gpu/client/gpu_memory_buffer_impl_win.cc
content/common/gpu/gpu_channel_manager.cc
content/common/gpu/gpu_channel_manager.h
content/common/gpu/gpu_memory_buffer_factory.h
content/common/gpu/gpu_memory_buffer_factory_android.cc
content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
content/common/gpu/gpu_memory_buffer_factory_io_surface.h
content/common/gpu/gpu_memory_buffer_factory_linux.cc
content/common/gpu/gpu_memory_buffer_factory_mac.cc
content/common/gpu/gpu_memory_buffer_factory_ozone.cc
content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc
content/common/gpu/gpu_memory_buffer_factory_surface_texture.h
content/common/gpu/gpu_memory_buffer_factory_win.cc
content/common/gpu/gpu_messages.h
content/public/android/java/src/org/chromium/content/app/ChildProcessService.java
content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java
content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl
ui/gfx/gpu_memory_buffer.cc
ui/gfx/gpu_memory_buffer.h
ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc
ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h