[Webkit-unassigned] [Bug 48138] New: texImage2D does not respect orientation of underlying image
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 22 10:35:39 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48138
Summary: texImage2D does not respect orientation of underlying
image
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dino at apple.com
CC: cmarrin at apple.com
The image object passed to texImage2D might come from a source that has set a non-zero orientation. At the moment, the texImage2D implementation ignores this and calls the native method with the CGImage that the image object holds. This means if you load an image format that supports orientation, and the orientation is non-zero, then the texture will be using the wrong width and height.
CGImage doesn't know about orientation either, so the native call to texImage2D is doing the right thing. It's just that the higher level API of WebGL doesn't allow us to rotate the image - <img> elements have no concept of orientation.
--
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