| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 void bindBufferRange(GLenum target, GLuint index, WebGLBuffer? buffer, GLint
ptr offset, GLsizeiptr size); | 423 void bindBufferRange(GLenum target, GLuint index, WebGLBuffer? buffer, GLint
ptr offset, GLsizeiptr size); |
| 424 [CallWith=ScriptState] any getIndexedParameter(GLenum target, GLuint index); | 424 [CallWith=ScriptState] any getIndexedParameter(GLenum target, GLuint index); |
| 425 sequence<GLuint>? getUniformIndices(WebGLProgram? program, sequence<DOMStrin
g> uniformNames); | 425 sequence<GLuint>? getUniformIndices(WebGLProgram? program, sequence<DOMStrin
g> uniformNames); |
| 426 sequence<GLint>? getActiveUniforms(WebGLProgram? program, sequence<GLuint> u
niformIndices, GLenum pname); | 426 sequence<GLint>? getActiveUniforms(WebGLProgram? program, sequence<GLuint> u
niformIndices, GLenum pname); |
| 427 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam
e); | 427 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam
e); |
| 428 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog
ram, GLuint uniformBlockIndex, GLenum pname); | 428 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog
ram, GLuint uniformBlockIndex, GLenum pname); |
| 429 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo
ckIndex); | 429 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo
ckIndex); |
| 430 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL
uint uniformBlockBinding); | 430 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL
uint uniformBlockBinding); |
| 431 | 431 |
| 432 /* Vertex Array Objects */ | 432 /* Vertex Array Objects */ |
| 433 // FIXME: Update this to WebGLVertexArrayObject | 433 WebGLVertexArrayObject createVertexArray(); |
| 434 WebGLVertexArrayObjectOES createVertexArray(); | 434 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); |
| 435 void deleteVertexArray(WebGLVertexArrayObjectOES? vertexArray); | 435 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); |
| 436 GLboolean isVertexArray(WebGLVertexArrayObjectOES? vertexArray); | 436 void bindVertexArray(WebGLVertexArrayObject? vertexArray); |
| 437 void bindVertexArray(WebGLVertexArrayObjectOES? vertexArray); | |
| 438 }; | 437 }; |
| 439 WebGL2RenderingContextBase implements WebGLRenderingContextBase; | 438 WebGL2RenderingContextBase implements WebGLRenderingContextBase; |
| OLD | NEW |