Descriptioncc: Decouple LayerTreeTests from FakeOutputSurface expectations.
LayerTreeTests expect the output surface on the LayerTreeHostImpl to
be a FakeOutputSurface, but we will be changing it to be a
TestDelegatingOutputSurface in the future, with a Display, and a
FakeOutputSurface in the Display instead.
This removes the LayerTreeTest::CreateFakeOutputSurface() method, and
has tests override the LayerTreeTest::CreateOutputSurface() instead,
storing the FakeOutputSurface* themselves as needed. This also means
we don't have a null FakeOutputSurface* in pixel tests, yay.
In the future, this method will become CreateDisplayOutputSurface
or something, so that tests can control the surface in the Display (and
all the contexts), without changing the TestDelegatingOutputSurface in
the LayerTreeHostImpl.
R=enne
BUG=606056
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel
Committed: https://crrev.com/b175e4c8fef543c6297d7c9112f50b44d3e1e513
Cr-Commit-Position: refs/heads/master@{#405548}
Patch Set 1 #Patch Set 2 : layertreetest-outputsurface: . #Patch Set 3 : layertreetest-outputsurface: rebase #Patch Set 4 : layertreetest-outputsurface: android-compile #Patch Set 5 : layertreetest-outputsurface: more-android #Patch Set 6 : layertreetest-outputsurface: more-more-android #Patch Set 7 : layertreetest-outputsurface: more-more-more-android #
Messages
Total messages: 25 (15 generated)
|