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

Issue 1361413004: Fix directly composited image path for CSS image-orientation (Closed)

Created:
5 years, 3 months ago by rwlbuis
Modified:
5 years, 2 months ago
Reviewers:
chrishtr, Noel Gordon
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix directly composited image path for CSS image-orientation Use the DragImage::resizeAndOrientImage helper added in this CL to obtain a SkImage of correct orientation to send to the graphics layer for compositing. Add new layout tests: image-orientation-from-image-composited-dynamic.html - test dynamically adding CSS image-orientation: from-image image-orientation-default.html - check that when no image-orientation is specified, images with an EXIF orientation are not transformed. BUG=502267 Committed: https://crrev.com/8cac6805bdac3a41ac76a72e9e1e58d26105895c Cr-Commit-Position: refs/heads/master@{#352647}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add dynamic test and fix stuff #

Total comments: 1

Patch Set 3 : Update TestExpections #

Patch Set 4 : Add test for 0deg #

Total comments: 1

Patch Set 5 : Address review comments #

Total comments: 1

Patch Set 6 : Patch for landing #

Messages

Total messages: 35 (12 generated)
rwlbuis
PTAL. I got the impression that changing compositor to handle image orientation was not preferred, ...
5 years, 3 months ago (2015-09-24 17:25:19 UTC) #2
Noel Gordon
Yes, I did find the the lack of help you received from the compositor side ...
5 years, 3 months ago (2015-09-24 23:58:55 UTC) #3
Noel Gordon
heading in the right direction, needs a test or two ... https://codereview.chromium.org/1361413004/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp (right): ...
5 years, 3 months ago (2015-09-25 00:12:19 UTC) #4
Noel Gordon
Other thoughts: let's not close https://codereview.chromium.org/1361413004 . We know we won't need it, good riddance, ...
5 years, 3 months ago (2015-09-25 00:15:54 UTC) #5
rwlbuis
On 2015/09/25 00:12:19, noel gordon wrote: > heading in the right direction, needs a test ...
5 years, 2 months ago (2015-09-29 21:37:22 UTC) #6
Noel Gordon
https://codereview.chromium.org/1361413004/diff/20001/third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html File third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html (left): https://codereview.chromium.org/1361413004/diff/20001/third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html#oldcode20 third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html:20: Thanks for the new test, Rob. I looked at ...
5 years, 2 months ago (2015-09-30 12:02:54 UTC) #7
Noel Gordon
On 2015/09/29 21:37:22, rwlbuis wrote: > On 2015/09/25 00:12:19, noel gordon wrote: > We have ...
5 years, 2 months ago (2015-10-01 03:52:08 UTC) #8
rwlbuis
On 2015/10/01 03:52:08, noel gordon wrote: > https://codereview.chromium.org/1361413004/diff/1/third_party/WebKit/Source/platform/DragImage.h#newcode73 > > > third_party/WebKit/Source/platform/DragImage.h:73: const AffineTransform&, > ...
5 years, 2 months ago (2015-10-01 15:54:17 UTC) #9
Noel Gordon
> > > I noticed that the default "0deg" did not work well in my ...
5 years, 2 months ago (2015-10-01 16:07:40 UTC) #10
Noel Gordon
LGTM - you'll need a OWNER for the core changes, but Platform looking good to ...
5 years, 2 months ago (2015-10-01 16:09:29 UTC) #11
rwlbuis
On 2015/10/01 16:09:29, noel gordon wrote: > LGTM - you'll need a OWNER for the ...
5 years, 2 months ago (2015-10-01 16:42:01 UTC) #12
rwlbuis
@chrishtr PTAL at the core changes. One change is to make sure images with image-orientation ...
5 years, 2 months ago (2015-10-01 16:53:17 UTC) #14
chrishtr
I left a comment on September 3 on bug 502267 about why we need to ...
5 years, 2 months ago (2015-10-02 21:17:56 UTC) #15
rwlbuis
On 2015/10/02 21:17:56, chrishtr wrote: > I left a comment on September 3 on bug ...
5 years, 2 months ago (2015-10-02 21:38:30 UTC) #16
chrishtr
https://codereview.chromium.org/1361413004/diff/60001/third_party/WebKit/Source/platform/DragImage.h File third_party/WebKit/Source/platform/DragImage.h (right): https://codereview.chromium.org/1361413004/diff/60001/third_party/WebKit/Source/platform/DragImage.h#newcode72 third_party/WebKit/Source/platform/DragImage.h:72: PassRefPtr<SkImage> adjustedImage(PassRefPtr<SkImage>, const IntSize&, const AffineTransform&, float opacity, InterpolationQuality ...
5 years, 2 months ago (2015-10-02 21:53:03 UTC) #17
rwlbuis
On 2015/10/02 21:53:03, chrishtr wrote: > https://codereview.chromium.org/1361413004/diff/60001/third_party/WebKit/Source/platform/DragImage.h > File third_party/WebKit/Source/platform/DragImage.h (right): > > https://codereview.chromium.org/1361413004/diff/60001/third_party/WebKit/Source/platform/DragImage.h#newcode72 > ...
5 years, 2 months ago (2015-10-05 22:52:38 UTC) #18
chrishtr
lgtm https://codereview.chromium.org/1361413004/diff/80001/third_party/WebKit/Source/platform/DragImage.h File third_party/WebKit/Source/platform/DragImage.h (right): https://codereview.chromium.org/1361413004/diff/80001/third_party/WebKit/Source/platform/DragImage.h#newcode35 third_party/WebKit/Source/platform/DragImage.h:35: #include "third_party/skia/include/core/SkImage.h" Instead of #include, forward-declare SkImage.
5 years, 2 months ago (2015-10-05 23:19:47 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361413004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361413004/80001
5 years, 2 months ago (2015-10-06 04:10:41 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-06 05:37:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361413004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361413004/100001
5 years, 2 months ago (2015-10-06 14:43:23 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361413004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361413004/100001
5 years, 2 months ago (2015-10-06 17:41:41 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 2 months ago (2015-10-06 18:23:02 UTC) #34
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 18:24:16 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8cac6805bdac3a41ac76a72e9e1e58d26105895c
Cr-Commit-Position: refs/heads/master@{#352647}

Powered by Google App Engine
This is Rietveld 408576698