| // 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/ |
| |
| [NoInterfaceObject] |
| interface WebGLMultiDraw { |
| void multiDrawArraysWEBGL(GLenum mode, |
| (Int32Array or sequence<long>) firstsList, |
| GLuint firstsOffset, |
| (Int32Array or sequence<long>) countsList, |
| GLuint countsOffset, |
| GLsizei drawcount); |
| |
| void multiDrawElementsWEBGL(GLenum mode, |
| (Int32Array or sequence<long>) countsList, |
| GLuint countsOffset, |
| GLenum type, |
| (Int32Array or sequence<long>) offsetsList, |
| GLuint offsetsOffset, |
| GLsizei drawcount); |
| }; |