Khronos Public Bugzilla
Bug 657 - Use unions to simplify IDL
Use unions to simplify IDL
Status: NEW
Product: WebGL
Classification: Unclassified
Component: Specification
unspecified
All All
: P3 minor
: ---
Assigned To: 3dweb Working Group email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-05 12:44 PDT by glenn
Modified: 2012-06-05 12:44 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description glenn 2012-06-05 12:44:04 PDT
Replace eg.

void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
void bufferData(GLenum target, ArrayBufferView data, GLenum usage);
void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);

with

void bufferData(GLenum target, GLsizeiptr or ArrayBufferView or ArrayBuffer? size, GLenum usage);

See https://www.khronos.org/webgl/public-mailing-list/archives/1205/msg00244.html.