[Webkit-unassigned] [Bug 106975] New: Simplify validation and data copying in WebGLBuffer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 15 19:37:04 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106975
Summary: Simplify validation and data copying in WebGLBuffer
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: ASSIGNED
Severity: Normal
Priority: P2
Component: WebGL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kbr at google.com
CC: dino at apple.com, cmarrin at apple.com, zmo at google.com,
bajones at chromium.org
The WebGLBuffer class helps validate calls to bufferData and bufferSubData, and holds on to copies of indices for ELEMENT_ARRAY_BUFFER type buffers. Currently, its lowest level validation is written in terms of ArrayBuffers, which makes the validation checks it does much more complicated than they should be. Typed array instances, in particular subarrays, are already verified during construction, and some of the checks being done in WebGLBuffer are redundant. Additionally, it looks like they may even be incomplete because of the complexity of the code.
Changing the base validation routines to operate on a (void*, GC3Dsizeiptr) pair simplifies them considerably.
--
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