Re-land: content: Single process support for native GpuMemoryBuffers.
commitac364edf46eab2b244bd3a2724b191f453b13e94
authorreveman <reveman@chromium.org>
Wed, 10 Jun 2015 22:41:55 +0000 (10 15:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 22:42:29 +0000 (10 22:42 +0000)
tree605d17602dad869ed1cf42855d2ef6bfce26af0c
parent257ab9111a9af7f8b2c428d2e589ae268b7be308
Re-land: content: Single process support for native GpuMemoryBuffers.

This adds single process support for IOSurface and
SurfaceTexture backed GpuMemoryBuffers.

Also makes the SurfaceTexture code more consistent
with IOSurface code by using a singleton instead of
leaking a raw pointer.

BUG=497559
TEST=content_browsertests --gtest_also_run_disabled_tests --gtest_filter=ChildThreadImplGpuMemoryBufferBrowserTests/*

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

Cr-Commit-Position: refs/heads/master@{#333822}
content/browser/android/browser_surface_texture_manager.cc
content/browser/android/browser_surface_texture_manager.h
content/browser/android/in_process_surface_texture_manager.cc [new file with mode: 0644]
content/browser/android/in_process_surface_texture_manager.h [new file with mode: 0644]
content/browser/browser_io_surface_manager_mac.h
content/browser/browser_main_loop.cc
content/browser/in_process_io_surface_manager_mac.cc [new file with mode: 0644]
content/browser/in_process_io_surface_manager_mac.h [new file with mode: 0644]
content/child/child_thread_impl_browsertest.cc
content/content_browser.gypi
content/test/content_test_suite.cc