Chromium Code Reviews
Descriptionexo: Directly create GpuMemoryBufferImpl when a handle is available.
Instead of going through the GpuMemoryBufferManager, directly allocate
the right kind of GpuMemoryBuffer. One of the changes with the existing
code is that the buffer is currently always created on the IO thread.
With this change, that is no longer enforced. This thus avoids thread
hopping during buffer allocation, and some complex code in
BrowserGpuMemoryBufferManager. This is also the only use of
GpuMemoryBufferManager::CreateGpuMemoryBufferFromHandle(). So this CL
removes that (and the corresponding various implementations).
BUG=643746
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=jam@ for top-level owner for updating for API change.
Committed: https://crrev.com/00a4065140b523047346d4b2a593cb6fad1a4409
Cr-Commit-Position: refs/heads/master@{#438435}
Patch Set 1 #Patch Set 2 : fix non-ozone build #
Total comments: 4
Patch Set 3 : . #
Total comments: 2
Patch Set 4 : null callback #Messages
Total messages: 33 (25 generated)
|