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 75521
Implement hardware accelerated Brightness and contrast filters
https://bugs.webkit.org/show_bug.cgi?id=75521
Summary
Implement hardware accelerated Brightness and contrast filters
BrianMB
Reported
2012-01-03 21:34:59 PST
Test Case:
http://jsfiddle.net/brianblakely/ntmAr/
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.15+ (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7
Attachments
Patch
(446.12 KB, patch)
2012-01-20 17:52 PST
,
Chris Marrin
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-01-04 11:03:57 PST
<
rdar://problem/10643206
>
Chris Marrin
Comment 2
2012-01-17 15:35:53 PST
The real problem here is that the hardware accelerated brightness and contrast filters haven't been implemented yet. There is also a bug in PlatformCALayer::filtersCanBeComposited, where FilterOperation::GRAYSCALE was mistakenly included in the list of filters not accelerated. I will fix that when I do this implementation.
Chris Marrin
Comment 3
2012-01-20 17:52:37 PST
Created
attachment 123420
[details]
Patch
Simon Fraser (smfr)
Comment 4
2012-01-20 17:58:40 PST
Comment on
attachment 123420
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=123420&action=review
> Source/WebCore/ChangeLog:11 > + It also changes the spec for the brightness filter to be additive rather than
Strictly speaking, it doesn't change the spec, but complies with suggested spec changes.
> Source/WebCore/css/CSSParser.cpp:6815 > - // One optional argument, 0-1 or 0%-100%, if missing use 100%. > + // One optional argument, 0-1 or 0%-100%, if missing use 100%,
The old version of the comments seems correct.
> Source/WebCore/css/CSSParser.cpp:6826 > // Saturate, Brightness and Contrast allow values over 100%.
Is this comment wrong now re: brightness?
Chris Marrin
Comment 5
2012-01-21 07:42:57 PST
Landed in
https://trac.webkit.org/changeset/105576
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