Descriptioncc: Stop testing occlusion by making awkward queries.
We used to test the state of the occlusion tracker by making queries
for various input rects to try and guess what its occlusion state
must be. This is bad. Instead, we can query the state directly.
This removes all state queries from tests that are verifying the
occlusion tracker's internal state changes correctly. And adds some
new tests that just set internal state and verify the query methods
work correctly.
R=enne
Committed: https://crrev.com/f080b5b78fd221901d34f179100bdf0e6827aa31
Cr-Commit-Position: refs/heads/master@{#291608}
Patch Set 1 #Patch Set 2 : unoccluded: . #Patch Set 3 : unoccluded: replicaqueries #
Messages
Total messages: 14 (0 generated)
|