[Webkit-unassigned] [Bug 94246] New: [Chromium] Uint8ClampedArray fast path rounds incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 16 13:30:19 PDT 2012


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

           Summary: [Chromium] Uint8ClampedArray fast path rounds
                    incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dominik.rottsches at intel.com
                CC: abarth at webkit.org


When analysing two philip canvas tests I found that the ArrayBuffer bindings in Chromium have a fast path (ExternalArray) using ArrayBuffer's baseAddress to set indexed properties directly. This fast path does not use the same rounding (round to nearest, even in halfway case, equivalent to lrint()) that was put in place now for Uint8ClampedArray::set in order to adhere to the spec. For 2d.imageData.object.round.html to pass on Chromium, this needs to be fixed. More info in bug 40272.

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