Bug 65560

Summary: [chromium] accelerated canvas-to-canvas draws incur an unnecessary readback
Product: WebKit Reporter: Stephen White <senorblanco>
Component: CanvasAssignee: Stephen White <senorblanco>
Status: RESOLVED FIXED    
Severity: Normal CC: jamesr, kbr, mdelaney7, vangelis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch jamesr: review+

Stephen White
Reported 2011-08-02 12:22:40 PDT
In http://trac.webkit.org/changeset/91870, I added a lockPixels() call to ImageBuffer[Skia]::draw() in order to fix printing, which draws from accelerated->non-accelerated contexts. However, this causes a readback even in the accelerated->accelerated case, causing a performance slowdown.
Attachments
Patch (2.58 KB, patch)
2011-08-02 12:26 PDT, Stephen White
jamesr: review+
Stephen White
Comment 1 2011-08-02 12:26:51 PDT
James Robinson
Comment 2 2011-08-02 12:32:05 PDT
Comment on attachment 102680 [details] Patch R=me
Stephen White
Comment 3 2011-08-02 14:09:53 PDT
Note You need to log in before you can comment on or make changes to this bug.