[Webkit-unassigned] [Bug 89937] New: [Qt] Use premultiplied alpha when extracting image data in WebGL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 25 19:27:26 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89937
Summary: [Qt] Use premultiplied alpha when extracting image
data in WebGL
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: noam.rosenthal at nokia.com
CC: luxtella at company100.net
In GraphicsContext3DQt, we convert the native QPixmap to QImage::Format_ARGB32, and then pass AlphaDoPremultiply as an argument to packPixels.
This means that if the image was originally premultiplied, the code path would convert it to unpremultiplied and then back to premultiplied.
Instead, we should use QImage::Format_ARGB32_Premultiplied when premultiplyAlpha is true.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list