WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
95855
[chromium] We should accelerate all transformations, except when we must blend matrices that cannot be decomposed.
https://bugs.webkit.org/show_bug.cgi?id=95855
Summary
[chromium] We should accelerate all transformations, except when we must blen...
vollick
Reported
2012-09-05 07:59:14 PDT
Currently, we don't accelerate any transform animation if it involves a transform operation that isn't invertible, but this is too strict. If we have, at keyframe one, a scale of 1 and, at keyframe two, a scale of 0, we are perfectly capable of blending between the two. This breaks down if we must resort to matrix interpolation and one of the matrices cannot be decomposed. Matrix interpolation works by decomposing both matrices, blending the decomposed components, and then recomposing. Obviously, this won't work if we can't decompose. We can get into the situation where we must resort to matrix interpolation if the transform operations at adjacent keyframes don't line up, or if matrix transform operations are used explicitly.
Attachments
Patch
(18.85 KB, patch)
2012-09-05 08:52 PDT
,
vollick
no flags
Details
Formatted Diff
Diff
Patch for landing
(18.89 KB, patch)
2012-09-07 07:39 PDT
,
vollick
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
vollick
Comment 1
2012-09-05 08:52:05 PDT
Created
attachment 162260
[details]
Patch
WebKit Review Bot
Comment 2
2012-09-05 08:53:43 PDT
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
James Robinson
Comment 3
2012-09-06 19:21:15 PDT
Comment on
attachment 162260
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162260&action=review
> Source/Platform/chromium/public/WebTransformationMatrix.h:82 > + bool blend(const WebTransformationMatrix& from, double progress);
add WEBKIT_EXPORT here too (the rest of the functions will have this for you on ToT)
vollick
Comment 4
2012-09-07 07:39:13 PDT
Created
attachment 162768
[details]
Patch for landing (In reply to
comment #3
)
> (From update of
attachment 162260
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=162260&action=review
>
> > Source/Platform/chromium/public/WebTransformationMatrix.h:82 > > + bool blend(const WebTransformationMatrix& from, double progress);
>
> add WEBKIT_EXPORT here too (the rest of the functions will have this for you on ToT)
Done.
WebKit Review Bot
Comment 5
2012-09-07 08:32:17 PDT
Comment on
attachment 162768
[details]
Patch for landing Clearing flags on attachment: 162768 Committed
r127868
: <
http://trac.webkit.org/changeset/127868
>
WebKit Review Bot
Comment 6
2012-09-07 08:32:20 PDT
All reviewed patches have been landed. Closing bug.
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