Bug 42305 - Add functions to extract individual RGBA32 components
Summary: Add functions to extract individual RGBA32 components
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Performance
Depends on:
Blocks:
 
Reported: 2010-07-14 17:14 PDT by Andreas Kling
Modified: 2010-07-14 17:27 PDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (2.93 KB, patch)
2010-07-14 17:15 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2010-07-14 17:14:07 PDT
Right now you have to create a Color object to extract the R, G, B or A component of an RGBA32 value.
Comment 1 Andreas Kling 2010-07-14 17:15:51 PDT
Created attachment 61585 [details]
Proposed patch

Add functions: {red,green,blue,alpha}Channel(RGBA32)
Comment 2 Andreas Kling 2010-07-14 17:27:44 PDT
Comment on attachment 61585 [details]
Proposed patch

Clearing flags on attachment: 61585

Committed r63382: <http://trac.webkit.org/changeset/63382>
Comment 3 Andreas Kling 2010-07-14 17:27:54 PDT
All reviewed patches have been landed.  Closing bug.