diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h b/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h index c120a67e5a6..0953f26e985 100644 --- a/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h +++ b/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h @@ -21,6 +21,10 @@ class WebGL2ComputeRenderingContextBase : public WebGL2RenderingContextBase { void dispatchCompute(GLuint numGroupsX, GLuint numGroupsY, GLuint numGroupsZ); void dispatchComputeIndirect(int64_t offset); + /* Draw indirect */ + void drawArraysIndirect(GLenum mode, int64_t offset); + void drawElementsIndirect(GLenum mode, GLenum type, int64_t offset); + /* Program interface query */ ScriptValue getProgramInterfaceParameter(ScriptState*, WebGLProgram*, @@ -32,7 +36,7 @@ class WebGL2ComputeRenderingContextBase : public WebGL2RenderingContextBase { String getProgramResourceName(WebGLProgram*, GLenum program_interface, GLuint index); - base::Optional<Vector<ScriptValue>> getProgramResource( + base::Optional<HeapVector<ScriptValue>> getProgramResource( ScriptState*, WebGLProgram*, GLenum program_interface, |