| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://www.khronos.org/registry/webgl/extensions/WEBGL_multi_draw_instanced/ |
| |
| [NoInterfaceObject] |
| interface WebGLMultiDrawInstanced { |
| void multiDrawArraysInstancedWEBGL(GLenum mode, |
| (Int32Array or sequence<long>) firstsList, |
| GLuint firstsOffset, |
| (Int32Array or sequence<long>) countsList, |
| GLuint countsOffset, |
| (Int32Array or sequence<long>) instanceCountsList, |
| GLuint instanceCountsOffset, |
| GLsizei drawcount); |
| |
| void multiDrawElementsInstancedWEBGL(GLenum mode, |
| (Int32Array or sequence<long>) countsList, |
| GLuint countsOffset, |
| GLenum type, |
| (Int32Array or sequence<long>) offsetsList, |
| GLuint offsetsOffset, |
| (Int32Array or sequence<long>) instanceCountsList, |
| GLuint instanceCountsOffset, |
| GLsizei drawcount); |
| }; |