[Webkit-unassigned] [Bug 41195] New: [chromium] Drag images look wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 24 23:27:58 PDT 2010


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

           Summary: [chromium] Drag images look wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thakis at chromium.org


DragImageChromiumSkia contains this:

            *pixel = SkPreMultiplyARGB(SkColorGetA(*pixel) * fraction,
                                       SkColorGetR(*pixel),
                                       SkColorGetG(*pixel),
                                       SkColorGetB(*pixel));

That's wrong: *pixel already contains premultiplied rgb, and calling SkPreMultiplyARGB() again multiplies rgb by the new alpha again. Instead, SkPackARGB should be called.

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