[Webkit-unassigned] [Bug 107560] New: [Qt] RGB -> BGR is wrong on big endian
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 22 08:44:48 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=107560
Summary: [Qt] RGB -> BGR is wrong on big endian
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Images
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: allan.jensen at digia.com
CC: zherczeg at webkit.org, noam at webkit.org
In ImageBufferQt we do some conversion from RGB to BGR. While the code doesn't say why, the reason it is needed is because Qt uses ARGB and JavaScript canvas expect RGBA, and storing ABGR as a 32bit vector happens to produce a RGBA byte-order on a little endian machine. This is ofcourse wrong on a bit endian machine.
The conversion should be fixed, and the code and its reason made clearer.
--
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