WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
27768
SVG feComponentTransfer needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=27768
Summary
SVG feComponentTransfer needs to be implemented
Dirk Schulze
Reported
2009-07-28 09:41:49 PDT
SVG feComponentTransfer needs to be implemented
Attachments
SVG Filter feComponentTransfer
(6.35 KB, patch)
2009-07-28 13:02 PDT
,
Dirk Schulze
eric
: review-
Details
Formatted Diff
Diff
SVG Filter feComponentTransfer
(7.80 KB, patch)
2009-08-09 11:27 PDT
,
Dirk Schulze
no flags
Details
Formatted Diff
Diff
SVG Filter feComponentTransfer
(5.62 KB, patch)
2009-08-19 02:20 PDT
,
Dirk Schulze
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2009-07-28 13:02:50 PDT
Created
attachment 33662
[details]
SVG Filter feComponentTransfer Implementation with look-up-table. This is a dramaticly speed up of feComponentTransfer.
Eric Seidel (no email)
Comment 2
2009-07-31 15:24:11 PDT
Comment on
attachment 33662
[details]
SVG Filter feComponentTransfer Hum... I still think function pointers or templates would allow us to share much more code. Do we know that function pointers would be a slowdown?
Eric Seidel (no email)
Comment 3
2009-08-06 19:24:04 PDT
Comment on
attachment 33662
[details]
SVG Filter feComponentTransfer Sad that we don't have a Color based get/set: 5 srcPixelArray->get(pixelByteOffset, r); 196 srcPixelArray->get(pixelByteOffset + 1, g); 197 srcPixelArray->get(pixelByteOffset + 2, b); 198 srcPixelArray->get(pixelByteOffset + 3, a); This should just be an array of these function pointers: 168 switch (channel) { 169 case 0: 170 transferFunction = redFunction(); 171 break; 172 case 1: 173 transferFunction = greenFunction(); 174 break; 175 case 2: 176 transferFunction = blueFunction(); 177 break; 178 case 3: 179 transferFunction = alphaFunction(); 180 break; 181 default: 182 break; 183 } probably quicker than a switch, and much, much less code. :) We need to find a way to share more of these for loops. I think that we should use function pointers indexed in an array by transferFunction.type.
Dirk Schulze
Comment 4
2009-08-09 11:27:27 PDT
Created
attachment 34427
[details]
SVG Filter feComponentTransfer with use of function pointer
Dirk Schulze
Comment 5
2009-08-13 00:35:28 PDT
Comment on
attachment 34427
[details]
SVG Filter feComponentTransfer clearing review tag. I'll upload a more efficient version after the patch on
bug 28133
is ready.
Dirk Schulze
Comment 6
2009-08-19 02:20:01 PDT
Created
attachment 35111
[details]
SVG Filter feComponentTransfer Make use of some recently added methods in FilterEffect and CanvasPixelArray.
Eric Seidel (no email)
Comment 7
2009-08-19 15:34:01 PDT
Comment on
attachment 35111
[details]
SVG Filter feComponentTransfer Clearing flags on attachment: 35111 Committed
r47529
: <
http://trac.webkit.org/changeset/47529
>
Eric Seidel (no email)
Comment 8
2009-08-19 15:34:07 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