[Webkit-unassigned] [Bug 105821] New: Optimize the texture packing for texImage2D() and texSubImage2D() in WebGL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 28 00:27:03 PST 2012


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

           Summary: Optimize the texture packing for texImage2D() and
                    texSubImage2D() in WebGL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jun.a.jiang at intel.com


In texture packing for texImage2D() and texSubImage2D() in WebGL, there are hundreds of unpack and pack operations and instances for different combinations of source format, destination format and Alpha operations. Current Implementation uses function pointers to denote each corresponding unpack and pack operation. The code logic is a little complex and could be made cleaner and simpler. Mozilla has done some optimizations based on this implementation, we could merge it back. There are basically two things: 1. use template functions and avoid code bloat. 2. merge the flipY operation into the packing operation.

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