WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
61232
Allow ShadowBlur to do tiling when the context is scaled
https://bugs.webkit.org/show_bug.cgi?id=61232
Summary
Allow ShadowBlur to do tiling when the context is scaled
Simon Fraser (smfr)
Reported
2011-05-20 19:09:33 PDT
If the context is scaled, we should try to keep on the tiling code path in ShadowBlur for performance, but we have do some device-pixel alignment when drawing.
Attachments
Patch
(7.04 KB, patch)
2011-05-20 19:13 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch
(40.07 KB, patch)
2011-05-20 20:11 PDT
,
Simon Fraser (smfr)
mitz: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ec2-cr-linux-03
(1.48 MB, application/zip)
2011-05-20 20:45 PDT
,
WebKit Review Bot
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2011-05-20 19:13:48 PDT
Created
attachment 94306
[details]
Patch
Simon Fraser (smfr)
Comment 2
2011-05-20 19:15:10 PDT
<
rdar://problem/9063427
>
WebKit Review Bot
Comment 3
2011-05-20 19:18:12 PDT
Attachment 94306
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/graphics/transforms/AffineTransform.h:136: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Matthew Delaney
Comment 4
2011-05-20 19:38:29 PDT
Comment on
attachment 94306
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94306&action=review
> Source/WebCore/ChangeLog:6 > +
https://bugs.webkit.org/show_bug.cgi?id=61232
This "preservesAxisAlignment" allows scales and rotations of factors of 90 degrees. So, it avoids skews and non-axis-alignned resulting rotations.
Matthew Delaney
Comment 5
2011-05-20 19:43:55 PDT
Also, don't we want to have some new test cases (pixel-only tests, likely) that add a non-integral scale and/or x*90 degree rotation to make sure there are no pixel cracks?
Simon Fraser (smfr)
Comment 6
2011-05-20 20:07:18 PDT
Filed
bug 61234
on possible pixel cracks with this patch.
Simon Fraser (smfr)
Comment 7
2011-05-20 20:11:13 PDT
Created
attachment 94310
[details]
Patch
WebKit Review Bot
Comment 8
2011-05-20 20:13:24 PDT
Attachment 94310
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/fast/box-shadow/scaled-box-sha..." exit_code: 1 Source/WebCore/platform/graphics/transforms/AffineTransform.h:136: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 9
2011-05-20 20:45:17 PDT
Comment on
attachment 94310
[details]
Patch
Attachment 94310
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8720506
New failing tests: fast/box-shadow/scaled-box-shadow.html
WebKit Review Bot
Comment 10
2011-05-20 20:45:22 PDT
Created
attachment 94314
[details]
Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Simon Fraser (smfr)
Comment 11
2011-05-20 21:21:04 PDT
http://trac.webkit.org/changeset/87009
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