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

Issue 14690020: cc: Don't consider padding for analysis. (Closed)

Created:
7 years, 7 months ago by vmpstr
Modified:
7 years, 7 months ago
Reviewers:
reveman, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

cc: Don't consider padding for analysis. Currently we analyze exactly what we raster. However, there are cases like edge tiles on a layer that are padded, so that the shader samples non-garbage values when it's interpolating the texture values. However, for analysis we don't need this padding, we can analyze just the integer canvas, which allows us to properly detect solid layer-edge tiles. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199903

Patch Set 1 #

Total comments: 1

Patch Set 2 : layer space analysis #

Total comments: 1

Patch Set 3 : predictor benchmarking change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -7 lines) Patch
M cc/resources/picture_pile_impl.cc View 1 1 chunk +7 lines, -5 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
vmpstr
Please take a look. This change is enough to make the solid colors work on ...
7 years, 7 months ago (2013-05-10 22:54:10 UTC) #1
reveman
https://codereview.chromium.org/14690020/diff/1/cc/resources/picture_pile_impl.cc File cc/resources/picture_pile_impl.cc (right): https://codereview.chromium.org/14690020/diff/1/cc/resources/picture_pile_impl.cc#newcode249 cc/resources/picture_pile_impl.cc:249: content_rect.Intersect(gfx::Rect(gfx::ToFlooredSize( Can we really round down here? I think ...
7 years, 7 months ago (2013-05-13 15:48:44 UTC) #2
enne (OOO)
I'm not sure that this CL is right either, so I think I can now ...
7 years, 7 months ago (2013-05-13 16:10:56 UTC) #3
reveman
I think the case we can handle this way is when the bottom-right tile is ...
7 years, 7 months ago (2013-05-13 16:16:46 UTC) #4
vmpstr
My reasoning for this was that the layer extends past a pixel, but does not ...
7 years, 7 months ago (2013-05-13 16:18:00 UTC) #5
vmpstr
On 2013/05/13 16:16:46, David Reveman wrote: > I think the case we can handle this ...
7 years, 7 months ago (2013-05-13 16:19:25 UTC) #6
reveman
Yes, maybe this already works correctly. Fyi, I'm currently seeing a raster task on http://goo.gl/iHtwD ...
7 years, 7 months ago (2013-05-13 16:58:44 UTC) #7
vmpstr
On 2013/05/13 16:58:44, David Reveman wrote: > Yes, maybe this already works correctly. Fyi, I'm ...
7 years, 7 months ago (2013-05-13 17:02:42 UTC) #8
vmpstr
PTAL. This works perfectly if 1.0 / contents_scale ends up being an integer. For the ...
7 years, 7 months ago (2013-05-13 17:37:03 UTC) #9
enne (OOO)
https://codereview.chromium.org/14690020/diff/8001/cc/resources/picture_pile_impl.cc File cc/resources/picture_pile_impl.cc (right): https://codereview.chromium.org/14690020/diff/8001/cc/resources/picture_pile_impl.cc#newcode249 cc/resources/picture_pile_impl.cc:249: gfx::Rect layer_rect = gfx::ToEnclosingRect( layer_rect is tiling_.total_size(). No need ...
7 years, 7 months ago (2013-05-13 17:48:52 UTC) #10
enne (OOO)
Oops, I totally misread that. lgtm.
7 years, 7 months ago (2013-05-13 18:14:57 UTC) #11
reveman
lg, do we need adjust the prediction benchmarks code too?
7 years, 7 months ago (2013-05-13 20:20:13 UTC) #12
vmpstr
On 2013/05/13 20:20:13, David Reveman wrote: > lg, do we need adjust the prediction benchmarks ...
7 years, 7 months ago (2013-05-13 22:29:58 UTC) #13
vmpstr
Changed the scale in prediction benchmarking. Also filed crbug.com/240500 to fix the fact that benchmarking ...
7 years, 7 months ago (2013-05-13 23:04:03 UTC) #14
reveman
lgtm, please consider moving all scale logic into TileManager::RunAnalyzeTask in a follow up
7 years, 7 months ago (2013-05-13 23:17:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/14690020/15001
7 years, 7 months ago (2013-05-13 23:22:21 UTC) #16
commit-bot: I haz the power
7 years, 7 months ago (2013-05-14 04:58:03 UTC) #17
Message was sent while issue was closed.
Change committed as 199903

Powered by Google App Engine
This is Rietveld 408576698