OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 typedef unsigned long GLenum; | 5 typedef unsigned long GLenum; |
6 typedef boolean GLboolean; | 6 typedef boolean GLboolean; |
7 typedef unsigned long GLbitfield; | 7 typedef unsigned long GLbitfield; |
8 typedef byte GLbyte; // 'byte' should be a signed 8 bit type. | 8 typedef byte GLbyte; // 'byte' should be a signed 8 bit type. |
9 typedef short GLshort; | 9 typedef short GLshort; |
10 typedef long GLint; | 10 typedef long GLint; |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 [CallWith=ScriptState] any getIndexedParameter(GLenum target, GLuint index); | 428 [CallWith=ScriptState] any getIndexedParameter(GLenum target, GLuint index); |
429 sequence<GLuint>? getUniformIndices(WebGLProgram? program, sequence<DOMStrin
g> uniformNames); | 429 sequence<GLuint>? getUniformIndices(WebGLProgram? program, sequence<DOMStrin
g> uniformNames); |
430 sequence<GLint>? getActiveUniforms(WebGLProgram? program, sequence<GLuint> u
niformIndices, GLenum pname); | 430 sequence<GLint>? getActiveUniforms(WebGLProgram? program, sequence<GLuint> u
niformIndices, GLenum pname); |
431 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam
e); | 431 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam
e); |
432 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog
ram, GLuint uniformBlockIndex, GLenum pname); | 432 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog
ram, GLuint uniformBlockIndex, GLenum pname); |
433 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo
ckIndex); | 433 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo
ckIndex); |
434 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL
uint uniformBlockBinding); | 434 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL
uint uniformBlockBinding); |
435 | 435 |
436 /* Vertex Array Objects */ | 436 /* Vertex Array Objects */ |
437 WebGLVertexArrayObject createVertexArray(); | 437 WebGLVertexArrayObject createVertexArray(); |
438 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); | 438 [CallWith=ScriptState] void deleteVertexArray(WebGLVertexArrayObject? vertex
Array); |
439 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); | 439 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); |
440 void bindVertexArray(WebGLVertexArrayObject? vertexArray); | 440 [CallWith=ScriptState] void bindVertexArray(WebGLVertexArrayObject? vertexAr
ray); |
441 | 441 |
442 /* Reading */ | 442 /* Reading */ |
443 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLintptr offset); | 443 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLintptr offset); |
444 }; | 444 }; |
445 WebGL2RenderingContextBase implements WebGLRenderingContextBase; | 445 WebGL2RenderingContextBase implements WebGLRenderingContextBase; |
OLD | NEW |