Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
--HG--
extra : source : 547e328ef878882bce8df3fc1b1e28926d910f1d
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
--HG--
extra : source : 3e8c03d1e6a7845a608c4770981cec1dd8b09977
WebGLBindableName represents a GL 'name' (GLuint) that can be bound to
part of the GL state machine. Similar code appeared in a number of
classes that represent GL bindable names, such as WebGLBuffer,
WebGLTexture, WebGLFramebuffer, etc.
Cleanup to reduce copy-n-paste code that's needed for creating new
objects for WebGL 2.
--HG--
extra : source : ad7803e3daf5862099f62f24fdbc83639be1ed5a