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

Issue 574343003: cc: Change LTHCommon 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@pixel_test
Project:
chromium
Visibility:
Public.

Description

cc: Change LTHCommon tests to use impl painting. Make LTHCommon tests to use PictureLayers instead of ContentLayer, and update the scaling tests to use ideal scales instead of contents scale accordingly. BUG=401492 Committed: https://crrev.com/e3bd619e1875337517ec496f9e8cb818b304fcd5 Cr-Commit-Position: refs/heads/master@{#299269}

Patch Set 1 #

Total comments: 1

Patch Set 2 : use ideal content scale. #

Total comments: 3

Patch Set 3 : updated ideal scale calc in SurfaceLayerTransformsInHighDPI test. #

Total comments: 4

Patch Set 4 : review comments addressed. #

Total comments: 44

Patch Set 5 : review comments addressed. #

Patch Set 6 : rebase to ToT #

Total comments: 4

Patch Set 7 : review comments addressed + rebased to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -178 lines) Patch
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 40 chunks +124 lines, -178 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
sohanjg
There are lot of repetitive tests for content scale which is now 1, i removed ...
6 years, 3 months ago (2014-09-17 14:52:40 UTC) #2
danakj
https://codereview.chromium.org/574343003/diff/1/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/1/cc/trees/layer_tree_host_common_unittest.cc#newcode4386 cc/trees/layer_tree_host_common_unittest.cc:4386: EXPECT_CONTENTS_SCALE_EQ(1, parent); we should check the layer's ideal_contents_scale instead ...
6 years, 3 months ago (2014-09-17 14:55:58 UTC) #3
sohanjg
Please give your comments, thanks. https://codereview.chromium.org/574343003/diff/60001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/60001/cc/trees/layer_tree_host_common_unittest.cc#newcode4289 cc/trees/layer_tree_host_common_unittest.cc:4289: EXPECT_IDEAL_SCALE_EQ(device_scale_factor * page_scale_factor, scale_surface); ...
6 years, 3 months ago (2014-09-23 14:52:03 UTC) #6
danakj
https://codereview.chromium.org/574343003/diff/60001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/60001/cc/trees/layer_tree_host_common_unittest.cc#newcode4289 cc/trees/layer_tree_host_common_unittest.cc:4289: EXPECT_IDEAL_SCALE_EQ(device_scale_factor * page_scale_factor, scale_surface); On 2014/09/23 14:52:03, sohanjg wrote: ...
6 years, 3 months ago (2014-09-23 15:00:17 UTC) #7
sohanjg
can you please take a look, thanks. https://codereview.chromium.org/574343003/diff/60001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/60001/cc/trees/layer_tree_host_common_unittest.cc#newcode4289 cc/trees/layer_tree_host_common_unittest.cc:4289: EXPECT_IDEAL_SCALE_EQ(device_scale_factor * ...
6 years, 3 months ago (2014-09-24 07:33:52 UTC) #8
danakj
https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc#newcode4291 cc/trees/layer_tree_host_common_unittest.cc:4291: gfx::Transform transform = scale_small_matrix; Did you figure out why ...
6 years, 3 months ago (2014-09-24 14:38:16 UTC) #10
sohanjg
https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc#newcode4291 cc/trees/layer_tree_host_common_unittest.cc:4291: gfx::Transform transform = scale_small_matrix; On 2014/09/24 14:38:16, danakj wrote: ...
6 years, 3 months ago (2014-09-24 15:09:31 UTC) #11
danakj
https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc#newcode4291 cc/trees/layer_tree_host_common_unittest.cc:4291: gfx::Transform transform = scale_small_matrix; On 2014/09/24 15:09:31, sohanjg wrote: ...
6 years, 3 months ago (2014-09-24 15:11:26 UTC) #12
sohanjg
https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/80001/cc/trees/layer_tree_host_common_unittest.cc#newcode4291 cc/trees/layer_tree_host_common_unittest.cc:4291: gfx::Transform transform = scale_small_matrix; On 2014/09/24 15:11:26, danakj wrote: ...
6 years, 3 months ago (2014-09-24 15:21:56 UTC) #13
danakj
On Wed, Sep 24, 2014 at 11:21 AM, <sohan.jyoti@samsung.com> wrote: > > https://codereview.chromium.org/574343003/diff/80001/cc/ > trees/layer_tree_host_common_unittest.cc ...
6 years, 3 months ago (2014-09-24 15:23:58 UTC) #14
sohanjg
On 2014/09/24 15:23:58, danakj wrote: > On Wed, Sep 24, 2014 at 11:21 AM, <mailto:sohan.jyoti@samsung.com> ...
6 years, 2 months ago (2014-09-25 11:01:27 UTC) #15
danakj
On Thu, Sep 25, 2014 at 7:01 AM, <sohan.jyoti@samsung.com> wrote: > On 2014/09/24 15:23:58, danakj ...
6 years, 2 months ago (2014-09-25 14:18:27 UTC) #16
sohanjg
On 2014/09/25 14:18:27, danakj wrote: > On Thu, Sep 25, 2014 at 7:01 AM, <mailto:sohan.jyoti@samsung.com> ...
6 years, 2 months ago (2014-09-26 06:05:00 UTC) #17
danakj
On Fri, Sep 26, 2014 at 2:05 AM, <sohan.jyoti@samsung.com> wrote: > On 2014/09/25 14:18:27, danakj ...
6 years, 2 months ago (2014-09-26 14:47:43 UTC) #18
sohanjg
On 2014/09/26 14:47:43, danakj wrote: > On Fri, Sep 26, 2014 at 2:05 AM, <mailto:sohan.jyoti@samsung.com> ...
6 years, 2 months ago (2014-09-30 06:32:57 UTC) #19
danakj
Hi, so it seems like a lot of tests were testing the ContentsScalingLayer interaction with ...
6 years, 2 months ago (2014-10-06 18:53:02 UTC) #20
sohanjg
Thanks for going through it, i have updated it as per your comments, please take ...
6 years, 2 months ago (2014-10-07 13:17:12 UTC) #21
danakj
https://codereview.chromium.org/574343003/diff/140001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/140001/cc/trees/layer_tree_host_common_unittest.cc#newcode4270 cc/trees/layer_tree_host_common_unittest.cc:4270: transform, device_scale_factor * page_scale_factor); pass 0.f as the 2nd ...
6 years, 2 months ago (2014-10-08 21:13:52 UTC) #22
danakj
LGTM with those changes. thanks for working through all these tests, there are sure a ...
6 years, 2 months ago (2014-10-08 21:14:27 UTC) #23
sohanjg
Thanks for going through this. https://codereview.chromium.org/574343003/diff/140001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/574343003/diff/140001/cc/trees/layer_tree_host_common_unittest.cc#newcode4270 cc/trees/layer_tree_host_common_unittest.cc:4270: transform, device_scale_factor * page_scale_factor); ...
6 years, 2 months ago (2014-10-13 06:33:38 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/574343003/160001
6 years, 2 months ago (2014-10-13 06:51:33 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:160001)
6 years, 2 months ago (2014-10-13 07:14:06 UTC) #27
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 07:14:55 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e3bd619e1875337517ec496f9e8cb818b304fcd5
Cr-Commit-Position: refs/heads/master@{#299269}

Powered by Google App Engine
This is Rietveld 408576698