[Webkit-unassigned] [Bug 73257] New: Canvas to WebGL Texture path Broken
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 28 14:57:12 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73257
Summary: Canvas to WebGL Texture path Broken
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: twiz at chromium.org
Repeatedly using the same canvas-2d element as a source for WebGL textures results in incorrect results. The content of the 2d canvas during the first texture copy is the content that is used for all subsequent texture uploads. This is because the software snapshot of the canvas contents, HTMLCanvasElement::m_copied is never reset when the hardware accelerated path is enabled.
Summary of the problem:
- CanvasRenderingContext2D::didDraw will early-out when the accelerated path is enabled.
- The early out prevents HTMLCanvasElement::didDraw from being called.
- HTMLCanvasElement::m_copied image is never reset.
- Subsequent accesses to the canvas for texture contents will return the copied image, which contains the contents of the first pass.
See original chromium issue here: crbug.com/105119
--
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