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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam
e); | 425 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam
e); |
426 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog
ram, GLuint uniformBlockIndex, GLenum pname); | 426 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog
ram, GLuint uniformBlockIndex, GLenum pname); |
427 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo
ckIndex); | 427 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo
ckIndex); |
428 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL
uint uniformBlockBinding); | 428 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL
uint uniformBlockBinding); |
429 | 429 |
430 /* Vertex Array Objects */ | 430 /* Vertex Array Objects */ |
431 WebGLVertexArrayObject createVertexArray(); | 431 WebGLVertexArrayObject createVertexArray(); |
432 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); | 432 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); |
433 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); | 433 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); |
434 void bindVertexArray(WebGLVertexArrayObject? vertexArray); | 434 void bindVertexArray(WebGLVertexArrayObject? vertexArray); |
| 435 |
| 436 /* Reading */ |
| 437 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLintptr offset); |
435 }; | 438 }; |
436 WebGL2RenderingContextBase implements WebGLRenderingContextBase; | 439 WebGL2RenderingContextBase implements WebGLRenderingContextBase; |
OLD | NEW |