Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl

Issue 2451943002: Remove runtime flag 'UnsafeES3APIs' from blink webgl (Closed)
Patch Set: Addressed kbr@'s feedback, and rebased the code Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 typedef unsigned long long GLuint64; 6 typedef unsigned long long GLuint64;
7 7
8 [ 8 [
9 RuntimeEnabled=UnsafeES3APIs,
10 NoInterfaceObject, 9 NoInterfaceObject,
11 ] interface WebGL2RenderingContextBase { 10 ] interface WebGL2RenderingContextBase {
12 const GLenum READ_BUFFER = 0x0C02; 11 const GLenum READ_BUFFER = 0x0C02;
13 const GLenum UNPACK_ROW_LENGTH = 0x0CF2; 12 const GLenum UNPACK_ROW_LENGTH = 0x0CF2;
14 const GLenum UNPACK_SKIP_ROWS = 0x0CF3; 13 const GLenum UNPACK_SKIP_ROWS = 0x0CF3;
15 const GLenum UNPACK_SKIP_PIXELS = 0x0CF4; 14 const GLenum UNPACK_SKIP_PIXELS = 0x0CF4;
16 const GLenum PACK_ROW_LENGTH = 0x0D02; 15 const GLenum PACK_ROW_LENGTH = 0x0D02;
17 const GLenum PACK_SKIP_ROWS = 0x0D03; 16 const GLenum PACK_SKIP_ROWS = 0x0D03;
18 const GLenum PACK_SKIP_PIXELS = 0x0D04; 17 const GLenum PACK_SKIP_PIXELS = 0x0D04;
19 const GLenum COLOR = 0x1800; 18 const GLenum COLOR = 0x1800;
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 /* Vertex Array Objects */ 445 /* Vertex Array Objects */
447 WebGLVertexArrayObject createVertexArray(); 446 WebGLVertexArrayObject createVertexArray();
448 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); 447 void deleteVertexArray(WebGLVertexArrayObject? vertexArray);
449 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); 448 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
450 void bindVertexArray(WebGLVertexArrayObject? vertexArray); 449 void bindVertexArray(WebGLVertexArrayObject? vertexArray);
451 450
452 /* Reading */ 451 /* Reading */
453 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); 452 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset);
454 }; 453 };
455 WebGL2RenderingContextBase implements WebGLRenderingContextBase; 454 WebGL2RenderingContextBase implements WebGLRenderingContextBase;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698