[Webkit-unassigned] [Bug 137752] New: glReadPixels on NVidia cards return the wrong values for the alpha channel when alpha is off

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 15 13:18:22 PDT 2014


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

           Summary: glReadPixels on NVidia cards return the wrong values
                    for the alpha channel when alpha is off
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: roger_fong at apple.com
                CC: bfulgham at webkit.org, dino at apple.com, jonlee at apple.com


When you create a rendering context with alpha:false, this means that the context returned should be opaque.
However, with nvidia cards, calling glreadpixels on such contexts returns the wrong value. It returns 0's in the alpha channel, they should be 255 instead.

As a workaround for this, after calls to ::glReadPixels we should manually set the alpha channel to 255 if alpha is off for the context.

-- 
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