WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
100401
Move ImageOrientation transform back in CG space (lower-left origin), adapt the skia code to work with that
https://bugs.webkit.org/show_bug.cgi?id=100401
Summary
Move ImageOrientation transform back in CG space (lower-left origin), adapt t...
Nico Weber
Reported
2012-10-25 11:46:01 PDT
Move ImageOrientation transform back in CG space (lower-left origin), adapt the skia code to work with that
Attachments
Patch
(11.80 KB, patch)
2012-10-25 11:47 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
Patch
(12.26 KB, patch)
2012-10-25 11:54 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
Patch
(11.53 KB, patch)
2012-10-25 12:12 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Nico Weber
Comment 1
2012-10-25 11:47:17 PDT
Created
attachment 170700
[details]
Patch
Nico Weber
Comment 2
2012-10-25 11:47:37 PDT
Comment on
attachment 170700
[details]
Patch (upload error)
Nico Weber
Comment 3
2012-10-25 11:54:43 PDT
Created
attachment 170702
[details]
Patch
WebKit Review Bot
Comment 4
2012-10-25 11:56:45 PDT
Attachment 170702
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/plat..." exit_code: 1 Source/WebCore/rendering/RenderObject.cpp:2234: Should have a space between // and comment [whitespace/comments] [4] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Nico Weber
Comment 5
2012-10-25 12:12:23 PDT
Created
attachment 170707
[details]
Patch
Eric Seidel (no email)
Comment 6
2012-10-25 13:03:53 PDT
Comment on
attachment 170707
[details]
Patch Thanks.
Eric Seidel (no email)
Comment 7
2012-10-25 13:06:18 PDT
Noel: Nico and I discussed on IRC. This patch should bring us "back" to how things worked before Nico started working on this. He said he'd post a patch to show what converting from our current right-handed-system to a left-handed-system would look like.
WebKit Review Bot
Comment 8
2012-10-25 13:32:34 PDT
Comment on
attachment 170707
[details]
Patch Clearing flags on attachment: 170707 Committed
r132525
: <
http://trac.webkit.org/changeset/132525
>
WebKit Review Bot
Comment 9
2012-10-25 13:32:38 PDT
All reviewed patches have been landed. Closing bug.
noel gordon
Comment 10
2012-10-25 18:53:57 PDT
(In reply to
comment #7
)
> Noel: Nico and I discussed on IRC. This patch should bring us "back" to how things worked before Nico started working on this. He said he'd post a patch to show what converting from our current right-handed-system to a left-handed-system would look like.
"back" sounds good. We should also unskip image-orientation-css.html in chromium TestExpectations and start generating its pixel results. We should compare:
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/cg/BitmapImageCG.cpp?rev=127170#L47
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/skia/ImageSkia.cpp?rev=127170#L292
and note that one of them mentions orientation! Note: I'm AFK until Tuesday AEST.
Nico Weber
Comment 11
2012-10-25 21:57:53 PDT
(In reply to
comment #10
)
> (In reply to
comment #7
) > > Noel: Nico and I discussed on IRC. This patch should bring us "back" to how things worked before Nico started working on this. He said he'd post a patch to show what converting from our current right-handed-system to a left-handed-system would look like. > > "back" sounds good. We should also unskip image-orientation-css.html in chromium TestExpectations and start generating its pixel results.
I checked in expectations in
bug 100434
. I'll unskip the test tomorrow.
> We should compare: > >
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/cg/BitmapImageCG.cpp?rev=127170#L47
>
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/skia/ImageSkia.cpp?rev=127170#L292
> > and note that one of them mentions orientation!
Good catch, uploaded a patch to
https://bugs.webkit.org/show_bug.cgi?id=100456
(I don't think it makes a difference in practice, see changelog entry in that bug).
noel gordon
Comment 12
2012-10-30 06:10:11 PDT
(In reply to
comment #11
) >
> > "back" sounds good. We should also unskip image-orientation-css.html in chromium TestExpectations and start generating its pixel results. > > I checked in expectations in
bug 100434
. I'll unskip the test tomorrow.
That's for image-orientation.html. I was asking about "image-orientation-css".html :)
noel gordon
Comment 13
2012-10-30 06:12:12 PDT
(In reply to
comment #11
)
> > We should compare: > > > >
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/cg/BitmapImageCG.cpp?rev=127170#L47
> >
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/skia/ImageSkia.cpp?rev=127170#L292
> > > > and note that one of them mentions orientation! > > Good catch, uploaded a patch to
https://bugs.webkit.org/show_bug.cgi?id=100456
(I don't think it makes a difference in practice, see changelog entry in that bug).
Ok thanks, added
bug 100456
to the chromium orientation meta bug.
Nico Weber
Comment 14
2012-10-30 09:47:01 PDT
(In reply to
comment #12
)
> (In reply to
comment #11
) > > > > > "back" sounds good. We should also unskip image-orientation-css.html in chromium TestExpectations and start generating its pixel results. > > > > I checked in expectations in
bug 100434
. I'll unskip the test tomorrow. > > That's for image-orientation.html. I was asking about "image-orientation-css".html :)
Oh, I thought that test used the image-orientation css stuff. I'm enabling it in
bug 100767
, and I'll land baselines for it later today.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug