Bug 120443

Summary: [WebGL] CoreGraphics can provide greyscale image data
Product: WebKit Reporter: Dean Jackson <dino>
Component: WebGLAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kondapallykalyan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Description Dean Jackson 2013-08-28 16:39:05 PDT
GraphicsContext3D::srcFormatComeFromDOMElementOrImageData checks for some defined image formats to decide whether or not the data came from an <img> element. However, it is too restrictive for CoreGraphics, causing us to fail unpacking some image data.

<rdar://problem/14840310>
Comment 1 Dean Jackson 2013-08-28 16:45:18 PDT
Created attachment 209932 [details]
Patch
Comment 2 Simon Fraser (smfr) 2013-08-28 16:48:48 PDT
Comment on attachment 209932 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=209932&action=review

> LayoutTests/fast/canvas/webgl/tex-image-with-greyscale-image.html:4
> +<meta charset="utf-8">

Nuke this.
Comment 3 Dean Jackson 2013-08-28 16:53:33 PDT
Committed r154793: <http://trac.webkit.org/changeset/154793>