[Webkit-unassigned] [Bug 38282] New: Passing premultiplyAlpha=false to tex{Sub}Image2D loses information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 28 14:08:12 PDT 2010


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

           Summary: Passing premultiplyAlpha=false to tex{Sub}Image2D
                    loses information
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kbr at google.com


If an RGBA PNG image is uploaded via texImage2D or texSubImage2D and false is
passed for the premultiplyAlpha argument, the result is currently lossy; the
alpha channel is multiplied in to the color channels by the browser and then
divided out later. The WebGL specification requires that this upload path be
lossless so that images which do not contain color and alpha information (for
example, using the RGBA channels as arbitrary data inputs to a shader) are not
destroyed during the upload process.

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