DescriptionAdd SurfaceDisplayOutputSurface unittests
Three basic tests added:
1) DamageTriggersSwapBuffers
2) NoDamageDoesNotTriggerSwapBuffers
3) LockingResourcesDoesIndirectlyCauseDamage
The last test is a regression test to make sure we
don't accidentally damage the root surface every frame.
It fails with the following patch applied, which
got reverted:
https://codereview.chromium.org/1073323002
BUG=476544
Committed: https://crrev.com/8eaf23b2f5ed71c59d6597f90dbf5d2409e36e55
Cr-Commit-Position: refs/heads/master@{#329991}
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : DoesIndrectly -> DoesNotIndirectly #
Total comments: 1
Patch Set 4 : delete unnecessary test class #Patch Set 5 : rebase on ToT, can land before DisplayScheduler patch #Patch Set 6 : simplify #Patch Set 7 : mroe checks to help debug flake #Patch Set 8 : Remove debug code and fix flakiness due to uninitialized variable #
Messages
Total messages: 9 (2 generated)
|