Descriptioncontent: 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
Committed: https://crrev.com/1953007c5e879a2e7e53efd0aa0be64263e9c6a0
Cr-Commit-Position: refs/heads/master@{#293871}
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : fix mac build #Patch Set 4 : remove unnecessary forward declaration #
Total comments: 14
Patch Set 5 : address review feedback #Patch Set 6 : address review feedback #
Messages
Total messages: 14 (2 generated)
|