Bug 58258

Summary: [Chromium] after a non-accelerated call, accelerated canvas-to-canvas draws are incorrect
Product: WebKit Reporter: Stephen White <senorblanco>
Component: CanvasAssignee: Stephen White <senorblanco>
Status: RESOLVED FIXED    
Severity: Normal CC: jamesr, kbr, mdelaney7, mixxster
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Patch jamesr: review+

Stephen White
Reported 2011-04-11 13:00:39 PDT
If a non-accelerated canvas2D call is made (e.g., strokeRect) followed by a call to drawImage() of that canvas to another canvas context, the results will be incorrect (the stroke is not shown). This can be seen on sites such as http://canvasrider.com/tracks/695376, although there doesn't seem to be a layout test that covers it.
Attachments
Patch (5.27 KB, patch)
2011-04-11 13:06 PDT, Stephen White
jamesr: review+
Stephen White
Comment 1 2011-04-11 13:06:09 PDT
James Robinson
Comment 2 2011-04-11 13:39:07 PDT
Comment on attachment 89061 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=89061&action=review Aha! > LayoutTests/fast/canvas/canvas-to-canvas.html:1 > +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> just <!DOCTYPE html> should suffice
Stephen White
Comment 3 2011-04-13 11:26:57 PDT
Note You need to log in before you can comment on or make changes to this bug.