diff options
author | Antoine Lambert <antoine-e.lambert@thalesgroup.com> | 2013-12-17 13:07:50 +0100 |
---|---|---|
committer | Antoine Lambert <antoine-e.lambert@thalesgroup.com> | 2013-12-17 13:07:50 +0100 |
commit | 8865ddefbf65642d6fe289a14c13d76b7eb85cd5 (patch) | |
tree | 9c642c1887a0af39fc517b0eef5dd420e53dfdc7 | |
parent | aae95cc8bfbf9a5fdc08f417a5dc7d766486468f (diff) |
add OpenGL Desktop/ES 2.0 hardware instancing extensions compatibility functions
-rw-r--r-- | src/library_gl.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 70221201..efe3b868 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -4989,6 +4989,18 @@ var LibraryGL = { GL.instancedArraysExt.drawElementsInstancedANGLE(mode, count, type, indices, primcount); }, + // OpenGL Desktop/ES 2.0 instancing extensions compatibility + + glVertexAttribDivisorNV: 'glVertexAttribDivisor', + glDrawArraysInstancedNV: 'glDrawArraysInstanced', + glDrawElementsInstancedNV: 'glDrawElementsInstanced', + glVertexAttribDivisorEXT: 'glVertexAttribDivisor', + glDrawArraysInstancedEXT: 'glDrawArraysInstanced', + glDrawElementsInstancedEXT: 'glDrawElementsInstanced', + glVertexAttribDivisorARB: 'glVertexAttribDivisor', + glDrawArraysInstancedARB: 'glDrawArraysInstanced', + glDrawElementsInstancedARB: 'glDrawElementsInstanced', + // signatures of simple pass-through functions, see later glActiveTexture__sig: 'vi', |