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

Issue 2410513002: Plumb preferred raster scale for background images from Blink to cc layers. (Closed)

Created:
4 years, 2 months ago by chrishtr
Modified:
4 years, 2 months ago
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

WIP: plumb preferred raster scale for background images from Blink to cc layers. BUG=652448 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/cde557b63b79a0b3a22253f125af6c209aa4bce1 Cr-Commit-Position: refs/heads/master@{#426255}

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : D #

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Total comments: 4

Patch Set 12 : none #

Patch Set 13 : none #

Total comments: 17

Patch Set 14 : none #

Patch Set 15 : none #

Patch Set 16 : none #

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

Messages

Total messages: 23 (13 generated)
chrishtr
This plumbs a "preferred raster scale" value from Blink to cc. In a followup patch, ...
4 years, 2 months ago (2016-10-14 21:09:54 UTC) #5
vmpstr
cc lgtm https://codereview.chromium.org/2410513002/diff/200001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2410513002/diff/200001/cc/layers/layer.h#newcode691 cc/layers/layer.h:691: bool has_preferred_raster_scale; nit: move with other bools ...
4 years, 2 months ago (2016-10-14 21:22:34 UTC) #8
chrishtr
https://codereview.chromium.org/2410513002/diff/200001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2410513002/diff/200001/cc/layers/layer.h#newcode691 cc/layers/layer.h:691: bool has_preferred_raster_scale; On 2016/10/14 at 21:22:33, vmpstr wrote: > ...
4 years, 2 months ago (2016-10-14 21:35:09 UTC) #9
Stephen Chennney
Update change description? https://codereview.chromium.org/2410513002/diff/240001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/2410513002/diff/240001/cc/layers/layer.cc#newcode1783 cc/layers/layer.cc:1783: inputs_.preferred_raster_scale = 1.0f; Do we need ...
4 years, 2 months ago (2016-10-17 14:31:30 UTC) #10
chrishtr
https://codereview.chromium.org/2410513002/diff/240001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/2410513002/diff/240001/cc/layers/layer.cc#newcode1783 cc/layers/layer.cc:1783: inputs_.preferred_raster_scale = 1.0f; On 2016/10/17 at 14:31:30, Stephen Chennney ...
4 years, 2 months ago (2016-10-19 03:51:36 UTC) #12
Stephen Chennney
LGTM with one more comment pass needed before commit. I'm happy to let you finalize ...
4 years, 2 months ago (2016-10-19 14:48:15 UTC) #16
chrishtr
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h File third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h (right): https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h#newcode35 third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:35: // in pixels of the box to draw the ...
4 years, 2 months ago (2016-10-19 16:56:07 UTC) #17
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/2410513002/300001
4 years, 2 months ago (2016-10-19 16:56:41 UTC) #20
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 2 months ago (2016-10-19 19:04:27 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:10:33 UTC) #23
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/cde557b63b79a0b3a22253f125af6c209aa4bce1
Cr-Commit-Position: refs/heads/master@{#426255}

Powered by Google App Engine
This is Rietveld 408576698