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

Issue 2441853002: Plumb preferred raster bounds rather than scale (Closed)

Created:
4 years, 2 months ago by chrishtr
Modified:
4 years, 2 months ago
Reviewers:
vmpstr
CC:
ajuma+watch_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb preferred raster bounds rather than scale This allows us to specify exactly the preferred raster size of the intrinsic object, such a images, without rounding error due to floating-point, conflation of width/height due to not preserving aspect ratio, etc. BUG=657431 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/a1caccf274a8013424414b3b306c3c7a4f7d4d42 Cr-Commit-Position: refs/heads/master@{#426719}

Patch Set 1 #

Total comments: 4

Patch Set 2 : none #

Patch Set 3 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -115 lines) Patch
M cc/blink/web_layer_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M cc/layers/layer.h View 1 3 chunks +13 lines, -8 lines 0 comments Download
M cc/layers/layer.cc View 3 chunks +14 lines, -15 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 chunks +10 lines, -6 lines 0 comments Download
M cc/layers/layer_impl.cc View 2 chunks +8 lines, -8 lines 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/scaling/preferred-raster-bounds.html View 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/scaling/preferred-raster-bounds-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/compositing/scaling/preferred-raster-scale.html View 1 chunk +0 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/scaling/preferred-raster-scale-expected.txt View 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPainter.cpp View 1 2 3 chunks +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 3 chunks +13 lines, -12 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
chrishtr
4 years, 2 months ago (2016-10-20 22:35:12 UTC) #5
vmpstr
lgtm, can you format the description to 72 chars https://codereview.chromium.org/2441853002/diff/1/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2441853002/diff/1/cc/layers/layer.h#newcode487 cc/layers/layer.h:487: ...
4 years, 2 months ago (2016-10-20 23:10:26 UTC) #8
chrishtr
https://codereview.chromium.org/2441853002/diff/1/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2441853002/diff/1/cc/layers/layer.h#newcode487 cc/layers/layer.h:487: bool has_preferred_raster_bounds() { On 2016/10/20 at 23:10:26, vmpstr wrote: ...
4 years, 2 months ago (2016-10-20 23:18:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441853002/20001
4 years, 2 months ago (2016-10-20 23:19:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441853002/40001
4 years, 2 months ago (2016-10-20 23:24:13 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-21 03:48:54 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:27:14 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a1caccf274a8013424414b3b306c3c7a4f7d4d42
Cr-Commit-Position: refs/heads/master@{#426719}

Powered by Google App Engine
This is Rietveld 408576698