Chromium Code Reviews| 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 // https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7 | |
|
Ken Russell (switch to Gerrit)
2017/04/06 20:29:24
I wish we had symbolic anchors for all of these, b
foolip
2017/04/07 05:08:42
Yes, using the section numbers for anything at all
| |
| 6 | |
| 5 typedef long long GLint64; | 7 typedef long long GLint64; |
| 6 typedef unsigned long long GLuint64; | 8 typedef unsigned long long GLuint64; |
| 7 | 9 |
| 8 [ | 10 [ |
| 9 NoInterfaceObject, | 11 NoInterfaceObject, |
| 10 ] interface WebGL2RenderingContextBase { | 12 ] interface WebGL2RenderingContextBase { |
| 11 const GLenum READ_BUFFER = 0x0C02; | 13 const GLenum READ_BUFFER = 0x0C02; |
| 12 const GLenum UNPACK_ROW_LENGTH = 0x0CF2; | 14 const GLenum UNPACK_ROW_LENGTH = 0x0CF2; |
| 13 const GLenum UNPACK_SKIP_ROWS = 0x0CF3; | 15 const GLenum UNPACK_SKIP_ROWS = 0x0CF3; |
| 14 const GLenum UNPACK_SKIP_PIXELS = 0x0CF4; | 16 const GLenum UNPACK_SKIP_PIXELS = 0x0CF4; |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 525 WebGLVertexArrayObject? createVertexArray(); | 527 WebGLVertexArrayObject? createVertexArray(); |
| 526 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); | 528 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); |
| 527 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); | 529 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); |
| 528 void bindVertexArray(WebGLVertexArrayObject? vertexArray); | 530 void bindVertexArray(WebGLVertexArrayObject? vertexArray); |
| 529 | 531 |
| 530 /* Reading */ | 532 /* Reading */ |
| 531 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView dstData, GLintptr offset); | 533 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView dstData, GLintptr offset); |
| 532 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); | 534 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); |
| 533 }; | 535 }; |
| 534 WebGL2RenderingContextBase implements WebGLRenderingContextBase; | 536 WebGL2RenderingContextBase implements WebGLRenderingContextBase; |
| OLD | NEW |