[Webkit-unassigned] [Bug 81340] New: Setting WebGL canvas width/height does not reset context state
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 16 05:32:44 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81340
Summary: Setting WebGL canvas width/height does not reset
context state
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: skyostil at google.com
>From http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html:
"When the canvas element is created, and subsequently whenever the width and height attributes are set (whether to a new value or to the previous value), the bitmap and any associated contexts must be cleared back to their initial state and reinitialized with the newly specified coordinate space dimensions."
Currently this is only done for 2D contexts and not for WebGL. Also, the fast path for clearing the canvas when its size remains constant (https://bugs.webkit.org/show_bug.cgi?id=80871) is not applied to WebGL.
--
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