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}
Description was changed from ========== none none none none none none none Merge branch 'master' ...
4 years, 2 months ago
(2016-10-10 18:34:02 UTC)
#1
Description was changed from
==========
none
none
none
none
none
none
none
Merge branch 'master' into rasterscale
none
BUG=
==========
to
==========
none
none
none
none
none
none
none
Merge branch 'master' into rasterscale
none
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
chrishtr
Description was changed from ========== none none none none none none none Merge branch 'master' ...
4 years, 2 months ago
(2016-10-10 18:34:02 UTC)
#2
Description was changed from
==========
none
none
none
none
none
none
none
Merge branch 'master' into rasterscale
none
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
none
none
none
none
none
none
none
Merge branch 'master' into rasterscale
none
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
==========
chrishtr
Description was changed from ========== none none none none none none none Merge branch 'master' ...
4 years, 2 months ago
(2016-10-10 19:09:41 UTC)
#3
Description was changed from
==========
none
none
none
none
none
none
none
Merge branch 'master' into rasterscale
none
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
==========
to
==========
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
==========
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
This plumbs a "preferred raster scale" value from Blink to cc. In a followup
patch, we'll
use that value to choose raster tile sets at a good resolution to maximize the
chance of
high-quality image rasterization.
chrishtr
The CQ bit was checked by chrishtr@chromium.org to run a CQ dry run
4 years, 2 months ago
(2016-10-14 21:10:01 UTC)
#6
4 years, 2 months ago
(2016-10-19 05:56:23 UTC)
#15
Dry run: Exceeded global retry quota
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
LGTM with one more comment pass needed before commit. I'm happy to let you
finalize the comments as you see fit.
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h (right):
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:35: // in pixels
of the box to draw the image once.
On 2016/10/19 03:51:36, chrishtr wrote:
> On 2016/10/17 at 14:31:30, Stephen Chennney wrote:
> > "... is the size of each instance of the image, in pixels."
>
> Isn't it in destination space though? So it isn't equal to the intrinsic image
> size.
Right, my comment wasn't clear either. I also realize that this size has meaning
even if we are not tiling. Is this better? "tileSize() defines the size for the
background image to meet CSS background-size and background-repeat
requirements."
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:39: // that tile
region.
Then this comment stays to make it clear we will resize to the tileSize.
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:42: // direction
are the spaces between tiles, if the image is tiled.
There's already a comment below on spaceSize(). I don't think we need this new
one.
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:45: const
LayoutPoint& phase() const { return m_phase; }
If we want to comment all of them, this one is "phase() represents the point in
the image that will appear at (0,0) in the destination space. The point is
defined in tileSize() coordinates."
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
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h (right):
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:35: // in pixels
of the box to draw the image once.
On 2016/10/19 at 14:48:15, Stephen Chennney wrote:
> On 2016/10/19 03:51:36, chrishtr wrote:
> > On 2016/10/17 at 14:31:30, Stephen Chennney wrote:
> > > "... is the size of each instance of the image, in pixels."
> >
> > Isn't it in destination space though? So it isn't equal to the intrinsic
image
> > size.
>
> Right, my comment wasn't clear either. I also realize that this size has
meaning even if we are not tiling. Is this better? "tileSize() defines the size
for the background image to meet CSS background-size and background-repeat
requirements."
I added a sentence referencing CSS as an example, and changed a few other words.
Hope that is clearer.
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:39: // that tile
region.
On 2016/10/19 at 14:48:15, Stephen Chennney wrote:
> Then this comment stays to make it clear we will resize to the tileSize.
Ack.
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:42: // direction
are the spaces between tiles, if the image is tiled.
On 2016/10/19 at 14:48:15, Stephen Chennney wrote:
> There's already a comment below on spaceSize(). I don't think we need this new
one.
Removed.
https://codereview.chromium.org/2410513002/diff/240001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h:45: const
LayoutPoint& phase() const { return m_phase; }
On 2016/10/19 at 14:48:15, Stephen Chennney wrote:
> If we want to comment all of them, this one is "phase() represents the point
in the image that will appear at (0,0) in the destination space. The point is
defined in tileSize() coordinates."
Done.
chrishtr
The CQ bit was checked by chrishtr@chromium.org
4 years, 2 months ago
(2016-10-19 16:56:09 UTC)
#18
4 years, 2 months ago
(2016-10-19 19:04:27 UTC)
#21
Message was sent while issue was closed.
Committed patchset #16 (id:300001)
commit-bot: I haz the power
Description was changed from ========== WIP: plumb preferred raster scale for background images from Blink ...
4 years, 2 months ago
(2016-10-21 13:10:31 UTC)
#22
Message was sent while issue was closed.
Description was changed from
==========
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
==========
to
==========
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}
==========
commit-bot: I haz the power
Patchset 16 (id:??) landed as https://crrev.com/cde557b63b79a0b3a22253f125af6c209aa4bce1 Cr-Commit-Position: refs/heads/master@{#426255}
4 years, 2 months ago
(2016-10-21 13:10:33 UTC)
#23
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
Reviewers: Stephen Chennney, vmpstr
Base URL:
Comments: 21