WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101952
[Chromium] pass all css3/filters tests in the SkImageFilter DAG path
https://bugs.webkit.org/show_bug.cgi?id=101952
Summary
[Chromium] pass all css3/filters tests in the SkImageFilter DAG path
Stephen White
Reported
2012-11-12 10:58:05 PST
We should pass all the css3/filters tests when using the SkImageFilter DAG path. Currently we run it only when there's a reference filter in the chain.
Attachments
Patch
(11.45 KB, patch)
2012-11-12 11:06 PST
,
Stephen White
no flags
Details
Formatted Diff
Diff
Patch
(11.42 KB, patch)
2012-11-12 17:15 PST
,
Stephen White
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Stephen White
Comment 1
2012-11-12 11:06:53 PST
Created
attachment 173673
[details]
Patch
James Robinson
Comment 2
2012-11-12 16:22:11 PST
Comment on
attachment 173673
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=173673&action=review
> Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.cpp:62 > +bool DropShadowImageFilter::onFilterImage(Proxy*proxy, const SkBitmap& source, const SkMatrix& matrix, SkBitmap* result, SkIPoint* loc) SK_OVERRIDE {
It's unusual to see any sort of OVERRIDE on the implementation - do you really need this? space between 'Proxy*' and 'proxy'
> Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.h:38 > + DropShadowImageFilter(SkFlattenableReadBuffer&);
we'd normally use explicit here
> Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.h:39 > + virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE;
Is SK_OVERRIDE the same as OVERRIDE? Can we just use the WebKit macros?
> Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.h:45 > + typedef SkSingleInputImageFilter INHERITED;
What's this? We would normally reserve ALLCAPS for macros in WebKit code
Stephen White
Comment 3
2012-11-12 17:15:33 PST
(In reply to
comment #2
)
> (From update of
attachment 173673
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=173673&action=review
> > > Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.cpp:62 > > +bool DropShadowImageFilter::onFilterImage(Proxy*proxy, const SkBitmap& source, const SkMatrix& matrix, SkBitmap* result, SkIPoint* loc) SK_OVERRIDE { > > It's unusual to see any sort of OVERRIDE on the implementation - do you really need this?
Whoops, thanks, fixed.
> space between 'Proxy*' and 'proxy'
Done.
> > Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.h:38 > > + DropShadowImageFilter(SkFlattenableReadBuffer&); > > we'd normally use explicit here
Done.
> > Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.h:39 > > + virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; > > Is SK_OVERRIDE the same as OVERRIDE? Can we just use the WebKit macros?
Done.
> > Source/WebCore/platform/graphics/filters/skia/DropShadowImageFilter.h:45 > > + typedef SkSingleInputImageFilter INHERITED; > > What's this? We would normally reserve ALLCAPS for macros in WebKit code
Removed. (This file started life as a Skia patch, in case it isn't obvious).
Stephen White
Comment 4
2012-11-12 17:15:43 PST
Created
attachment 173765
[details]
Patch
WebKit Review Bot
Comment 5
2012-11-13 12:39:56 PST
Comment on
attachment 173765
[details]
Patch Clearing flags on attachment: 173765 Committed
r134467
: <
http://trac.webkit.org/changeset/134467
>
WebKit Review Bot
Comment 6
2012-11-13 12:39:58 PST
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