[Webkit-unassigned] [Bug 171432] New: gl.readPixels with type gl.FLOAT does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 28 08:22:38 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171432

            Bug ID: 171432
           Summary: gl.readPixels with type gl.FLOAT does not work
           Product: WebKit
           Version: Safari 10
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aaron.montag at tum.de
                CC: dino at apple.com

Although floating point textures are supported through the "OES_texture_float" extension, reading back the pixels with

gl.readPixels(x, y, width, height, gl.RGBA, gl.FLOAT, pixels);

throws an error:

"WebGL: INVALID_ENUM: readPixels: invalid type"

A running example: https://cindyjs.org/examples/cindygl/34_cpuimagergba.html (It works with recent versions of Chromium and Firefox)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170428/73ba2e4c/attachment.html>


More information about the webkit-unassigned mailing list