| 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 long long GLint64; | 5 typedef long long GLint64; |
| 6 | 6 |
| 7 [ | 7 [ |
| 8 RuntimeEnabled=UnsafeES3APIs, | |
| 9 NoInterfaceObject, | 8 NoInterfaceObject, |
| 10 ] interface WebGL2RenderingContextBase { | 9 ] interface WebGL2RenderingContextBase { |
| 11 const GLenum READ_BUFFER = 0x0C02; | 10 const GLenum READ_BUFFER = 0x0C02; |
| 12 const GLenum UNPACK_ROW_LENGTH = 0x0CF2; | 11 const GLenum UNPACK_ROW_LENGTH = 0x0CF2; |
| 13 const GLenum UNPACK_SKIP_ROWS = 0x0CF3; | 12 const GLenum UNPACK_SKIP_ROWS = 0x0CF3; |
| 14 const GLenum UNPACK_SKIP_PIXELS = 0x0CF4; | 13 const GLenum UNPACK_SKIP_PIXELS = 0x0CF4; |
| 15 const GLenum PACK_ROW_LENGTH = 0x0D02; | 14 const GLenum PACK_ROW_LENGTH = 0x0D02; |
| 16 const GLenum PACK_SKIP_ROWS = 0x0D03; | 15 const GLenum PACK_SKIP_ROWS = 0x0D03; |
| 17 const GLenum PACK_SKIP_PIXELS = 0x0D04; | 16 const GLenum PACK_SKIP_PIXELS = 0x0D04; |
| 18 const GLenum COLOR = 0x1800; | 17 const GLenum COLOR = 0x1800; |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 /* Vertex Array Objects */ | 444 /* Vertex Array Objects */ |
| 446 WebGLVertexArrayObject createVertexArray(); | 445 WebGLVertexArrayObject createVertexArray(); |
| 447 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); | 446 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); |
| 448 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); | 447 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); |
| 449 void bindVertexArray(WebGLVertexArrayObject? vertexArray); | 448 void bindVertexArray(WebGLVertexArrayObject? vertexArray); |
| 450 | 449 |
| 451 /* Reading */ | 450 /* Reading */ |
| 452 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLintptr offset); | 451 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLintptr offset); |
| 453 }; | 452 }; |
| 454 WebGL2RenderingContextBase implements WebGLRenderingContextBase; | 453 WebGL2RenderingContextBase implements WebGLRenderingContextBase; |
| OLD | NEW |