cc: Add tests for DisplayListRasterSource.
commita5ac8cc9f06188bebd8977d21865244fa3b78fb3
authordanakj <danakj@chromium.org>
Wed, 3 Jun 2015 20:58:55 +0000 (3 13:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 20:59:24 +0000 (3 20:59 +0000)
tree6a98bfd8e819a0c1251ee5972461825c0f6a769e
parentc66f89190433d9926e59b01d031b9bde6dbcfe7a
cc: Add tests for DisplayListRasterSource.

This mimics (most of) the tests from PicturePileImpl but for the
display list backend to verify gather pixel refs and raster
behaviour. Also adds a new partial raster test.

This gives me a framework to write unit tests for culling display
items.

R=enne, vmpstr
BUG=487387
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1146813012

Cr-Commit-Position: refs/heads/master@{#332676}
cc/BUILD.gn
cc/cc_tests.gyp
cc/playback/display_list_raster_source.cc
cc/playback/display_list_raster_source_unittest.cc [new file with mode: 0644]
cc/playback/display_list_recording_source.cc
cc/playback/display_list_recording_source.h
cc/playback/display_list_recording_source_unittest.cc
cc/playback/recording_source_unittest.cc
cc/test/fake_display_list_recording_source.h