Bug 24229 - ImageQt uses SourceOver composition mode unnecessarily
Summary: ImageQt uses SourceOver composition mode unnecessarily
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 09:35 PST by Adam Treat
Modified: 2009-02-27 12:47 PST (History)
0 users

See Also:


Attachments
Don't use SourceOver unnecessarily (1.62 KB, patch)
2009-02-27 09:36 PST, Adam Treat
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Treat 2009-02-27 09:35:40 PST
Hi,

If an image does not have an alpha channel there is no reason to use SourceOver composition mode.
Comment 1 Adam Treat 2009-02-27 09:36:16 PST
Created attachment 28076 [details]
Don't use SourceOver unnecessarily
Comment 2 Eric Seidel (no email) 2009-02-27 10:12:06 PST
Comment on attachment 28076 [details]
Don't use SourceOver unnecessarily

Looks good.  Also could probably be made x-platform.
Comment 3 Adam Treat 2009-02-27 12:47:20 PST
Fixed with r41296.