DescriptionUse shared memory to update the renderer's view of the command buffer state.
The renderer can't receive UpdateState messages while it's executing javascript or NaCl, causing it to eventually flushsync once it fills up the command buffer or transfer buffer. To avoid this, share a piece of memory between the renderer and gpu process that the GPU can asynchronously update the state. A 4-slot asynchronous communication mechanism is used so that the renderer always receives a consistent copy of the state that was put in by the GPU process.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122034
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122593
Patch Set 1 #Patch Set 2 : minor unit test change #
Total comments: 4
Patch Set 3 : fix hang when last_state_.error accidentally overwritten #Messages
Total messages: 11 (0 generated)
|