summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webgl/webgl_multi_draw.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgl/webgl_multi_draw.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/webgl/webgl_multi_draw.idl23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgl/webgl_multi_draw.idl b/chromium/third_party/blink/renderer/modules/webgl/webgl_multi_draw.idl
new file mode 100644
index 00000000000..37ea0354935
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/webgl/webgl_multi_draw.idl
@@ -0,0 +1,23 @@
+// 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);
+};