[Webkit-unassigned] [Bug 89138] New: [cairo] improve putByteArray speed by avoiding max/min checks at Color construction.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 14 16:57:57 PDT 2012


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

           Summary: [cairo] improve putByteArray speed by avoiding max/min
                    checks at Color construction.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arno at renevier.net


Hi,
as explained in bug #89130, putByteArray constructs Color objects from unsigned char* elements.
Color constructors takes integers arguments and checks they are between 0 and 255.
As arguments are unsigned char*, we known for sure they're between 0 and 255, so we could probably try to skip this step.

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