Descriptioncc: Refactor OneCopyTileTaskWorkerPool.
Move the staging buffer pool related functionalities out to its own
file. To isolate the usage of |lock_| from OneCopyTileTaskWorkerPool,
the PlaybackAndCopyOnWorkerThread() is splitted into few other
functions.
PlaybackAndCopyOnWorkerThread() {
StagingBufferPool::AcquireStagingBuffer(); // with |lock_|
PlaybackToStagingBuffer(); // without |lock_|
CopyOnWorkerThread(); // without |lock_|, with context lock
StagingBufferPool::ReleaseStagingBuffer(); // with |lock_|
}
BUG=599863
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/a9dd9effc06a05b417255fe97afd92c3f32d963b
Cr-Commit-Position: refs/heads/master@{#386170}
Patch Set 1 #Patch Set 2 : refactor one copy. #
Total comments: 5
Patch Set 3 : feedback #Patch Set 4 : nit #Patch Set 5 : rebase #
Depends on Patchset: Messages
Total messages: 24 (13 generated)
|