DescriptionDelay UpdateRect until the SwapBuffers callback when accelerated compositing is on.
This is also removing the UpdateRect ack in the accelerated compositing case,
because it is not needed (and adds scheduling constraints that reduce
throughput).
This also sends a "dummy" message to the browser to unblock the UI thread if it's waiting on an UpdateRect when the transition from non-accelerated to accelerated happens: the GPU process may need to round trip to the browser UI thread before sending the SwapBuffers callback.
BUG=58782
TEST=reduced jankiness on aura builds when resizing.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113861
Patch Set 1 #Patch Set 2 : . #
Total comments: 16
Patch Set 3 : address review comments #Patch Set 4 : remove unused flag #Patch Set 5 : fix test #Patch Set 6 : add round trip for throttling #Patch Set 7 : fix win compile #
Total comments: 2
Patch Set 8 : allow multiple update messages in flight #Messages
Total messages: 25 (0 generated)
|