content: Move all GpuMemoryBuffer allocation to IO thread.
Allocation of a GpuMemoryBuffer is still asynchronous on the UI thread and as a result also for the renderer on the browser side. However, allocation of a GpuMemoryBuffer still need to be synchronous for the browser compositor but instead of limiting the browser compositor to GpuMemoryBuffer implementations that can be allocated synchronously, we block on the UI thread while waiting for allocation to be handled asynchronous on the IO thread. This allows all GpuMemoryBuffer implementations to be used with the browser compositor. BUG=380861 Review URL: https://codereview.chromium.org/542083002 Cr-Commit-Position: refs/heads/master@{#293871}
Showing
Please register or sign in to comment