Small refactor before actually dumping GLImageIOSurface.
commit368be3bcc347ae4093a7e7cbb2a04ca346878d8c
authorericrk <ericrk@chromium.org>
Thu, 20 Aug 2015 09:28:27 +0000 (20 02:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 09:28:57 +0000 (20 09:28 +0000)
tree15a2ec2e7074df51936d156a4c8c6a3d5faee98b
parent92c8231b78efd1048d10e54b3c01d18647cdd1fc
Small refactor before actually dumping GLImageIOSurface.

Adds an additional helper template to GenericSharedMemoryId to allow
it to be used as a hash key as the first element of a pair. This is
very common throughout the GpuMemoryBuffer / GLImage system, where
objects are frequently keyed off of <GenericSharedMemoryId, ClientId>.

BUG=514914

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

Cr-Commit-Position: refs/heads/master@{#344463}
content/browser/browser_io_surface_manager_mac.cc
content/browser/browser_io_surface_manager_mac.h
content/browser/in_process_io_surface_manager_mac.cc
content/browser/in_process_io_surface_manager_mac.h
content/child/child_io_surface_manager_mac.cc
content/child/child_io_surface_manager_mac.h
content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
content/common/gpu/gpu_memory_buffer_factory_io_surface.h
content/common/mac/io_surface_manager.h
ui/gfx/generic_shared_memory_id.h