WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
26479
Share code between filterEffects
https://bugs.webkit.org/show_bug.cgi?id=26479
Summary
Share code between filterEffects
Dirk Schulze
Reported
2009-06-17 07:15:49 PDT
We can share more code between the effects. The imageBuffer creation and drawRect calculation to Filtereffect.
Attachments
Share the code
(5.88 KB, patch)
2009-06-17 07:18 PDT
,
Dirk Schulze
oliver
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2009-06-17 07:18:17 PDT
Created
attachment 31412
[details]
Share the code share the code
Dirk Schulze
Comment 2
2009-06-17 08:00:06 PDT
***
Bug 26478
has been marked as a duplicate of this bug. ***
Oliver Hunt
Comment 3
2009-06-18 01:11:14 PDT
Comment on
attachment 31412
[details]
Share the code I think it makes sense to hoist 78 GraphicsContext* filterContext = getEffectContext(); 79 if (!filterContext) 80 return; to above the creation of dstRect for clarity
Dirk Schulze
Comment 4
2009-06-18 13:01:23 PDT
landed in
r44810
.
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