WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 94724
[BlackBerry] Extend LayerFilterRenderer in preparation for CSS Shaders
https://bugs.webkit.org/show_bug.cgi?id=94724
Summary
[BlackBerry] Extend LayerFilterRenderer in preparation for CSS Shaders
Joshua Netterfield
Reported
2012-08-22 10:32:53 PDT
There are some features missing in LayerFilterRenderer that are needed to implement CSS Shaders for BB10.
Attachments
Patch
(21.62 KB, patch)
2012-08-23 15:22 PDT
,
Joshua Netterfield
no flags
Details
Formatted Diff
Diff
Patch
(20.72 KB, patch)
2012-08-24 07:22 PDT
,
Joshua Netterfield
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Joshua Netterfield
Comment 1
2012-08-23 15:22:22 PDT
Created
attachment 160262
[details]
Patch
Arvid Nilsson
Comment 2
2012-08-24 07:01:37 PDT
Comment on
attachment 160262
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=160262&action=review
LGTM, but please remove copy/paste in favor of LayerRenderer::orthoMatrix()
> Source/WebCore/platform/graphics/blackberry/LayerFilterRenderer.cpp:240 > +static void orthogonalProjectionMatrix(TransformationMatrix& matrix, float left, float right, float bottom, float top)
This code is already available in LayerRenderer::orthoMatrix(), no need for copy/paste
> Source/WebCore/platform/graphics/blackberry/LayerFilterRenderer.h:48 > + virtual void onCompletion() { }
The "on" prefix is not typically used in WebKit, instead they use the will/did/should or other prefixes. In this case, maybe a better name that doesn't even need a prefix can be made. The name is nothing to R- for, but it is unusual for the WebKit codebase. Since the calling function is called cleanUp() maybe this could be called cleanUp() to, but I'm not sure. To me, it looks like the clean up performed is mostly related to restoring state, so maybe restoreState() or something along those lines would make sense.
Joshua Netterfield
Comment 3
2012-08-24 07:22:01 PDT
Created
attachment 160419
[details]
Patch
Arvid Nilsson
Comment 4
2012-08-24 07:40:07 PDT
Comment on
attachment 160419
[details]
Patch Looks great!
WebKit Review Bot
Comment 5
2012-08-24 08:12:32 PDT
Comment on
attachment 160419
[details]
Patch Clearing flags on attachment: 160419 Committed
r126587
: <
http://trac.webkit.org/changeset/126587
>
WebKit Review Bot
Comment 6
2012-08-24 08:12:35 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