Description[NOT FOR COMMIT] Hacks to merge render compositor thread with UI thread
Alex is right, this does mostly "just work"
Hacks involved:
* Allow UI thread to wait on condition variables. Individual fixes in PS2. Alex says the command buffer will be rewritten for the merged thread case to not block.
* Do not create a SyncChannel. This breaks all function related to sync messages like find in page, capture picture etc. Depreate sync find in page, capture picture will be rewritten for merged thread case.
Here is a hang/deadlock somewhere. Easier to reproduce with AwSettingsTest#testBlockNetworkImagesBlocksNetworkImageAndReloadInPlace; hangs about once every 20 runs.
To get merged threads:
Apply Patch Set 3 in this patch
Failing with timeout:
ClientOnReceivedErrorTest#testOnReceivedErrorOnInvalidUrl
Already landed patches:
Apply crrev.com/12386078
Apply crrev.com/12383056
Apply crrev.com/12639002
Apply crrev.com/12383030
BUG=
Patch Set 1 #
Total comments: 1
Patch Set 2 : New thread restriction allows (incomplete patch) #
Total comments: 10
Patch Set 3 : Remaining hacks #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|