[Webkit-unassigned] [Bug 103885] New: WebGL: use pointer to the source data for Image directly in texImage2D and texSubImage2D to avoid memory copy if no conversion is needed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 3 05:45:55 PST 2012


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

           Summary: WebGL: use pointer to the source data for Image
                    directly in texImage2D and texSubImage2D to avoid
                    memory copy if no conversion is needed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        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 current implementation of texImage2D() and texSubImage2D() in WebGL, there is a redundant memory copy from Image data to the intermediate vector when no conversion is needed. If the Image resource can be locked properly, it is better to use the pointer to the image source directly and hence avoid the memory copy to the intermediate vector.

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