Enable sync allocation of GpuMemoryBuffers from the browser process.
commit0269a5cd022535da97d21fee45162c24b211f9d3
authoralexst <alexst@chromium.org>
Wed, 10 Sep 2014 05:15:12 +0000 (9 22:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Sep 2014 05:24:36 +0000 (10 05:24 +0000)
tree42080a8147b99659359183e0c2c5707d40447c56
parent4bf71ed7540d1ead878e1891d6e819789863bf60
Enable sync allocation of GpuMemoryBuffers from the browser process.

This operation will be serviced on the IO thread in the GPU process and is expected to be very quick.

These sync allocations should be infrequent and happen mostly during startup to enable rendering via EGLImage.

BUG=380861

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

Cr-Commit-Position: refs/heads/master@{#294109}
18 files changed:
content/browser/gpu/browser_gpu_channel_host_factory.cc
content/browser/gpu/browser_gpu_channel_host_factory.h
content/browser/gpu/gpu_memory_buffer_factory_host_impl.cc [new file with mode: 0644]
content/browser/gpu/gpu_memory_buffer_factory_host_impl.h [new file with mode: 0644]
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_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_win.cc
content/common/gpu/gpu_channel_manager.cc
content/common/gpu/gpu_channel_manager.h
content/content_browser.gypi
content/gpu/gpu_child_thread.cc