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

Issue 235753002: cc: Give TilingData a Rect instead of a Size (Closed)

Created:
6 years, 8 months ago by ernstm
Modified:
6 years, 8 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Give TilingData a Rect instead of a Size This patch changes the assumption that the tiling covers the entire layer. It can now cover an arbitray sub-rect, called the tiling_rect. This will be used to implement viewport tiling in a separate patch. R=enne@chromium.org BUG=362668 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264083

Patch Set 1 #

Total comments: 16

Patch Set 2 : Rebase #

Patch Set 3 : more rebase #

Patch Set 4 : Many improvements and clean-ups. #

Patch Set 5 : tests + bug fixes + rebase #

Patch Set 6 : Parameterized unit tests. #

Patch Set 7 : Git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2708 lines, -1077 lines) Patch
M cc/base/tiling_data.h View 1 2 3 4 5 6 2 chunks +10 lines, -12 lines 0 comments Download
M cc/base/tiling_data.cc View 1 2 3 4 5 6 20 chunks +63 lines, -55 lines 0 comments Download
M cc/base/tiling_data_unittest.cc View 1 2 3 4 5 6 32 chunks +2462 lines, -852 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 3 chunks +12 lines, -7 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 5 chunks +9 lines, -16 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/tiled_layer.cc View 1 2 3 4 5 6 1 chunk +8 lines, -9 lines 0 comments Download
M cc/layers/tiled_layer_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/layer_tiling_data.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/layer_tiling_data.cc View 1 2 3 4 5 6 3 chunks +5 lines, -6 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 12 chunks +13 lines, -24 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_pile.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_pile_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/picture_pile_base.cc View 1 2 3 4 chunks +19 lines, -14 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 4 5 6 6 chunks +23 lines, -27 lines 0 comments Download
M cc/resources/picture_pile_unittest.cc View 1 2 3 4 5 6 15 chunks +36 lines, -31 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 1 2 3 4 5 6 1 chunk +11 lines, -1 line 0 comments Download
M cc/test/fake_picture_pile_impl.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/quad_culler_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
ernstm
PTAL. The patch still misses unit tests for the new functionality.
6 years, 8 months ago (2014-04-11 19:31:30 UTC) #1
enne (OOO)
Looks like the set of changes I would expect from such a change. Here's a ...
6 years, 8 months ago (2014-04-11 20:19:51 UTC) #2
ernstm
Will add new unittests next. https://codereview.chromium.org/235753002/diff/1/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/235753002/diff/1/cc/base/tiling_data.cc#newcode196 cc/base/tiling_data.cc:196: lo_x += tiling_rect_.x(); On ...
6 years, 8 months ago (2014-04-11 23:43:51 UTC) #3
ernstm
The latest patch set has updated tiling_data_unittest.cc. The only thing missing is now a git ...
6 years, 8 months ago (2014-04-14 23:54:20 UTC) #4
enne (OOO)
Yay, unit tests! I'm glad they caught a bunch of bugs. A few testing questions: ...
6 years, 8 months ago (2014-04-15 00:55:52 UTC) #5
ernstm
On 2014/04/15 00:55:52, enne wrote: > Yay, unit tests! I'm glad they caught a bunch ...
6 years, 8 months ago (2014-04-15 19:56:37 UTC) #6
ernstm
> The test is now parameterized. It tests positive, zero and negative origins (one > ...
6 years, 8 months ago (2014-04-15 20:16:01 UTC) #7
enne (OOO)
lgtm, thanks!
6 years, 8 months ago (2014-04-15 20:25:04 UTC) #8
ernstm
The CQ bit was checked by ernstm@chromium.org
6 years, 8 months ago (2014-04-15 20:39:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/235753002/120001
6 years, 8 months ago (2014-04-15 20:40:46 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 21:50:47 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-15 21:50:47 UTC) #12
ernstm
The CQ bit was checked by ernstm@chromium.org
6 years, 8 months ago (2014-04-15 22:02:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/235753002/120001
6 years, 8 months ago (2014-04-15 22:02:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/235753002/120001
6 years, 8 months ago (2014-04-16 01:29:09 UTC) #15
commit-bot: I haz the power
6 years, 8 months ago (2014-04-16 02:54:51 UTC) #16
Message was sent while issue was closed.
Change committed as 264083

Powered by Google App Engine
This is Rietveld 408576698