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

Issue 563523002: cc: Change LayerTreeHost unit tests to use impl painting. (Closed)

Created:
6 years, 3 months ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Change LayerTreeHost unit tests to use impl painting. Make LTH Unittests use PictureLayers instead of ContentLayer. BUG=401492 Committed: https://crrev.com/25780da3c293ff9550ebcc83215137334166ee60 Cr-Commit-Position: refs/heads/master@{#304178}

Patch Set 1 #

Total comments: 14

Patch Set 2 : update more tests #

Total comments: 30

Patch Set 3 : review comments addressed. #

Patch Set 4 : break down into smaller CLs #

Total comments: 23

Patch Set 5 : review comments addressed. #

Patch Set 6 : rebased and use set_fill_with_nonsolidcolor #

Patch Set 7 : avoid changing layer bounds as new code in FakeContentLayerClient paint, will ensure non-solid colo… #

Patch Set 8 : rebased to ToT to use new non-solid color paint. #

Total comments: 9

Patch Set 9 : review comments addressed. #

Total comments: 1

Patch Set 10 : remove unnecessary comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -86 lines) Patch
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 25 chunks +114 lines, -86 lines 0 comments Download

Messages

Total messages: 37 (5 generated)
sohanjg
https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode976 cc/trees/layer_tree_host_unittest.cc:976: class ContentLayerWithUpdateTracking : public ContentLayer { Do we change ...
6 years, 3 months ago (2014-09-10 14:11:19 UTC) #1
danakj
https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode976 cc/trees/layer_tree_host_unittest.cc:976: class ContentLayerWithUpdateTracking : public ContentLayer { On 2014/09/10 14:11:19, ...
6 years, 3 months ago (2014-09-10 15:24:29 UTC) #3
sohanjg
https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode1127 cc/trees/layer_tree_host_unittest.cc:1127: EXPECT_EQ(child_bounds_scaled, child->content_bounds()); when using picturelayer the content_bounds, are not ...
6 years, 3 months ago (2014-09-11 14:53:57 UTC) #4
danakj
https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode1127 cc/trees/layer_tree_host_unittest.cc:1127: EXPECT_EQ(child_bounds_scaled, child->content_bounds()); On 2014/09/11 14:53:57, sohanjg wrote: > when ...
6 years, 3 months ago (2014-09-11 17:17:30 UTC) #5
sohanjg
can u please take a look, thanks. https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode976 cc/trees/layer_tree_host_unittest.cc:976: class ContentLayerWithUpdateTracking ...
6 years, 3 months ago (2014-09-15 10:38:39 UTC) #6
danakj
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1531 cc/trees/layer_tree_host_unittest.cc:1531: class LayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit On 2014/09/15 10:38:39, sohanjg wrote: > Do ...
6 years, 3 months ago (2014-09-15 15:23:43 UTC) #7
sohanjg
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1531 cc/trees/layer_tree_host_unittest.cc:1531: class LayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit On 2014/09/15 15:23:43, danakj wrote: > On ...
6 years, 3 months ago (2014-09-17 07:27:43 UTC) #8
sohanjg
On 2014/09/17 07:27:43, sohanjg wrote: > https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc > File cc/trees/layer_tree_host_unittest.cc (right): > > https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1531 > ...
6 years, 3 months ago (2014-09-17 09:22:53 UTC) #9
danakj
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (left): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#oldcode1856 cc/trees/layer_tree_host_unittest.cc:1856: MULTI_THREAD_NOIMPL_TEST_F(LayerTreeHostTestContinuousInvalidate); you can just use IMPL instead of NOIMPL ...
6 years, 3 months ago (2014-09-19 18:12:01 UTC) #10
sohanjg
Please take a look, thanks. https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (left): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#oldcode1856 cc/trees/layer_tree_host_unittest.cc:1856: MULTI_THREAD_NOIMPL_TEST_F(LayerTreeHostTestContinuousInvalidate); On 2014/09/19 18:12:01, ...
6 years, 3 months ago (2014-09-22 09:31:19 UTC) #11
danakj
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1590 cc/trees/layer_tree_host_unittest.cc:1590: renderer->HasAllocatedResourcesForTesting(surface1_render_pass_id)); On 2014/09/22 09:31:18, sohanjg wrote: > If we ...
6 years, 3 months ago (2014-09-22 14:48:21 UTC) #12
sohanjg
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1605 cc/trees/layer_tree_host_unittest.cc:1605: EXPECT_LE(2u, root_layer_->update_count()); On 2014/09/22 14:48:21, danakj wrote: > On ...
6 years, 3 months ago (2014-09-22 14:54:36 UTC) #13
danakj
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1605 cc/trees/layer_tree_host_unittest.cc:1605: EXPECT_LE(2u, root_layer_->update_count()); On 2014/09/22 14:54:36, sohanjg wrote: > On ...
6 years, 3 months ago (2014-09-22 14:58:45 UTC) #14
sohanjg
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1590 cc/trees/layer_tree_host_unittest.cc:1590: renderer->HasAllocatedResourcesForTesting(surface1_render_pass_id)); On 2014/09/22 14:48:21, danakj wrote: > On 2014/09/22 ...
6 years, 3 months ago (2014-09-23 11:46:46 UTC) #15
sohanjg
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1590 cc/trees/layer_tree_host_unittest.cc:1590: renderer->HasAllocatedResourcesForTesting(surface1_render_pass_id)); On 2014/09/23 11:46:45, sohanjg wrote: > On 2014/09/22 ...
6 years, 2 months ago (2014-10-13 09:09:20 UTC) #17
danakj
https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/20001/cc/trees/layer_tree_host_unittest.cc#newcode1590 cc/trees/layer_tree_host_unittest.cc:1590: renderer->HasAllocatedResourcesForTesting(surface1_render_pass_id)); On 2014/10/13 09:09:19, sohanjg wrote: > On 2014/09/23 ...
6 years, 2 months ago (2014-10-14 18:10:21 UTC) #18
sohanjg
Lets update LayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit test, as a separate CL. Please take a look, thanks. https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc File ...
6 years, 2 months ago (2014-10-16 16:06:53 UTC) #20
danakj
https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc#newcode365 cc/trees/layer_tree_host_unittest.cc:365: // Changing the device scale factor causes a commit. ...
6 years, 2 months ago (2014-10-18 19:39:26 UTC) #21
sohanjg
Thanks for going through again, please take a look. Thanks. https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc#newcode365 ...
6 years, 2 months ago (2014-10-20 07:10:04 UTC) #22
danakj
https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc#newcode1058 cc/trees/layer_tree_host_unittest.cc:1058: // Paint non-solid color. On 2014/10/20 07:10:03, sohanjg wrote: ...
6 years, 2 months ago (2014-10-22 15:10:19 UTC) #23
sohanjg
Sorry for being so so late on this, please let me know your opinion on ...
6 years, 1 month ago (2014-10-29 08:31:00 UTC) #24
danakj
https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc#newcode1058 cc/trees/layer_tree_host_unittest.cc:1058: // Paint non-solid color. On 2014/10/29 08:31:00, sohanjg wrote: ...
6 years, 1 month ago (2014-10-29 14:27:47 UTC) #25
sohanjg
Please take a look, thanks. https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc#newcode1058 cc/trees/layer_tree_host_unittest.cc:1058: // Paint non-solid color. ...
6 years, 1 month ago (2014-10-31 10:58:52 UTC) #26
danakj
On 2014/10/31 10:58:52, sohanjg wrote: > Please take a look, thanks. > > https://codereview.chromium.org/563523002/diff/90001/cc/trees/layer_tree_host_unittest.cc > ...
6 years, 1 month ago (2014-11-04 21:54:17 UTC) #27
sohanjg
On 2014/11/04 21:54:17, danakj wrote: > On 2014/10/31 10:58:52, sohanjg wrote: > > Please take ...
6 years, 1 month ago (2014-11-05 07:06:57 UTC) #28
danakj
I split it out into https://codereview.chromium.org/686113004/ On Wed, Nov 5, 2014 at 2:06 AM, <sohan.jyoti@samsung.com> ...
6 years, 1 month ago (2014-11-05 19:51:01 UTC) #29
danakj
https://codereview.chromium.org/563523002/diff/170001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/170001/cc/trees/layer_tree_host_unittest.cc#newcode277 cc/trees/layer_tree_host_unittest.cc:277: virtual void BeginTest() override { remove virtual, override is ...
6 years, 1 month ago (2014-11-12 16:44:27 UTC) #30
sohanjg
Can you please take a look, thanks. https://codereview.chromium.org/563523002/diff/170001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/170001/cc/trees/layer_tree_host_unittest.cc#newcode277 cc/trees/layer_tree_host_unittest.cc:277: virtual void ...
6 years, 1 month ago (2014-11-13 09:14:27 UTC) #31
danakj
LGTM https://codereview.chromium.org/563523002/diff/190001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/563523002/diff/190001/cc/trees/layer_tree_host_unittest.cc#newcode1209 cc/trees/layer_tree_host_unittest.cc:1209: // Paint non-solid color. drop this comment
6 years, 1 month ago (2014-11-13 18:14:22 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/563523002/210001
6 years, 1 month ago (2014-11-14 04:53:54 UTC) #34
commit-bot: I haz the power
Committed patchset #10 (id:210001)
6 years, 1 month ago (2014-11-14 05:35:23 UTC) #35
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 05:36:08 UTC) #36
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/25780da3c293ff9550ebcc83215137334166ee60
Cr-Commit-Position: refs/heads/master@{#304178}

Powered by Google App Engine
This is Rietveld 408576698