DescriptionDecoupling backbuffer allocation suggestion from frontbuffer allocation suggestion.
Frontbuffer drop was hinged onto the discardBackbuffer message. Since only a single discard mess is sent now, and since discarding backbuffer comes first, a message frontbuffer drop was waiting for would never come.
This cl just refactors to decouple the two allocations and should be functionally equivalent to current behaviour, except it does not make assumptions about when discard messages should come through.
BUG=126542
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137432
Patch Set 1 #
Total comments: 14
Patch Set 2 : Caching size in EGL (compiles, not tested), and DCHECKS to win (not tested). #
Total comments: 10
Patch Set 3 : Updating all platforms to really decouple the two allocations by not using a shared AdjustBufferAll… #
Total comments: 4
Patch Set 4 : Fixing EGL issues with DCHECKS and fixing review comment #Patch Set 5 : Adding swap DCHECK to other platforms #Patch Set 6 : SwapBuffers returns a bool #
Total comments: 10
Patch Set 7 : Reseting damage when dropping front buffer. #Patch Set 8 : Reset previous damage at time of swap. #
Messages
Total messages: 15 (0 generated)
|