Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Issue 1146813012: cc: Add tests for DisplayListRasterSource. (Closed)

Created:
5 years, 6 months ago by danakj
Modified:
5 years, 6 months ago
Reviewers:
vmpstr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, ajuma, chrishtr, pdr., piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/a5ac8cc9f06188bebd8977d21865244fa3b78fb3 Cr-Commit-Position: refs/heads/master@{#332676}

Patch Set 1 #

Patch Set 2 : displaytest: . #

Patch Set 3 : displaytest: partialraster #

Patch Set 4 : displaytest: removescaletest #

Total comments: 2

Patch Set 5 : displaytest: logs #

Total comments: 2

Patch Set 6 : displaytest: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -23 lines) Patch
M cc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M cc/playback/display_list_raster_source.cc View 4 chunks +3 lines, -13 lines 0 comments Download
A cc/playback/display_list_raster_source_unittest.cc View 1 2 3 4 5 1 chunk +464 lines, -0 lines 0 comments Download
M cc/playback/display_list_recording_source.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/playback/display_list_recording_source.cc View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M cc/playback/display_list_recording_source_unittest.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M cc/playback/recording_source_unittest.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/fake_display_list_recording_source.h View 1 2 3 3 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
danakj
5 years, 6 months ago (2015-06-02 23:37:40 UTC) #1
danakj
Added a test for partial raster too!
5 years, 6 months ago (2015-06-03 00:40:45 UTC) #2
danakj
Removed the scale test
5 years, 6 months ago (2015-06-03 17:35:42 UTC) #3
vmpstr
Update the description as well please. I would somewhat prefer to keep the scaled test, ...
5 years, 6 months ago (2015-06-03 18:31:21 UTC) #5
danakj
On Wed, Jun 3, 2015 at 11:31 AM, <vmpstr@chromium.org> wrote: > Update the description as ...
5 years, 6 months ago (2015-06-03 18:40:19 UTC) #6
danakj
https://codereview.chromium.org/1146813012/diff/80001/cc/playback/raster_source_helper.cc File cc/playback/raster_source_helper.cc (right): https://codereview.chromium.org/1146813012/diff/80001/cc/playback/raster_source_helper.cc#newcode91 cc/playback/raster_source_helper.cc:91: LOG(ERROR) << content_rect.ToString(); On 2015/06/03 18:31:20, vmpstr wrote: > ...
5 years, 6 months ago (2015-06-03 18:40:58 UTC) #7
vmpstr
lgtm https://codereview.chromium.org/1146813012/diff/100001/cc/playback/display_list_raster_source_unittest.cc File cc/playback/display_list_raster_source_unittest.cc (right): https://codereview.chromium.org/1146813012/diff/100001/cc/playback/display_list_raster_source_unittest.cc#newcode410 cc/playback/display_list_raster_source_unittest.cc:410: if (expect_black) { nit: I think this test ...
5 years, 6 months ago (2015-06-03 18:48:59 UTC) #8
enne (OOO)
lgtm
5 years, 6 months ago (2015-06-03 18:58:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1146813012/120001
5 years, 6 months ago (2015-06-03 19:01:06 UTC) #12
danakj
https://codereview.chromium.org/1146813012/diff/100001/cc/playback/display_list_raster_source_unittest.cc File cc/playback/display_list_raster_source_unittest.cc (right): https://codereview.chromium.org/1146813012/diff/100001/cc/playback/display_list_raster_source_unittest.cc#newcode410 cc/playback/display_list_raster_source_unittest.cc:410: if (expect_black) { On 2015/06/03 18:48:59, vmpstr wrote: > ...
5 years, 6 months ago (2015-06-03 19:10:33 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/13595)
5 years, 6 months ago (2015-06-03 20:14:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1146813012/120001
5 years, 6 months ago (2015-06-03 20:16:36 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 6 months ago (2015-06-03 20:59:04 UTC) #18
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 20:59:54 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a5ac8cc9f06188bebd8977d21865244fa3b78fb3
Cr-Commit-Position: refs/heads/master@{#332676}

Powered by Google App Engine
This is Rietveld 408576698