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

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

Issue 2521323004: Removed leftover enums from WebGL 2.0 rendering context. (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 NoInterfaceObject, 9 NoInterfaceObject,
10 ] interface WebGL2RenderingContextBase { 10 ] interface WebGL2RenderingContextBase {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 const GLenum ALREADY_SIGNALED = 0x911A; 254 const GLenum ALREADY_SIGNALED = 0x911A;
255 const GLenum TIMEOUT_EXPIRED = 0x911B; 255 const GLenum TIMEOUT_EXPIRED = 0x911B;
256 const GLenum CONDITION_SATISFIED = 0x911C; 256 const GLenum CONDITION_SATISFIED = 0x911C;
257 const GLenum WAIT_FAILED = 0x911D; 257 const GLenum WAIT_FAILED = 0x911D;
258 const GLenum SYNC_FLUSH_COMMANDS_BIT = 0x00000001; 258 const GLenum SYNC_FLUSH_COMMANDS_BIT = 0x00000001;
259 const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE; 259 const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE;
260 const GLenum ANY_SAMPLES_PASSED = 0x8C2F; 260 const GLenum ANY_SAMPLES_PASSED = 0x8C2F;
261 const GLenum ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A; 261 const GLenum ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A;
262 const GLenum SAMPLER_BINDING = 0x8919; 262 const GLenum SAMPLER_BINDING = 0x8919;
263 const GLenum RGB10_A2UI = 0x906F; 263 const GLenum RGB10_A2UI = 0x906F;
264 const GLenum GREEN = 0x1904;
265 const GLenum BLUE = 0x1905;
266 const GLenum INT_2_10_10_10_REV = 0x8D9F; 264 const GLenum INT_2_10_10_10_REV = 0x8D9F;
267 const GLenum TRANSFORM_FEEDBACK = 0x8E22; 265 const GLenum TRANSFORM_FEEDBACK = 0x8E22;
268 const GLenum TRANSFORM_FEEDBACK_PAUSED = 0x8E23; 266 const GLenum TRANSFORM_FEEDBACK_PAUSED = 0x8E23;
269 const GLenum TRANSFORM_FEEDBACK_ACTIVE = 0x8E24; 267 const GLenum TRANSFORM_FEEDBACK_ACTIVE = 0x8E24;
270 const GLenum TRANSFORM_FEEDBACK_BINDING = 0x8E25; 268 const GLenum TRANSFORM_FEEDBACK_BINDING = 0x8E25;
271 const GLenum TEXTURE_IMMUTABLE_FORMAT = 0x912F; 269 const GLenum TEXTURE_IMMUTABLE_FORMAT = 0x912F;
272 const GLenum MAX_ELEMENT_INDEX = 0x8D6B; 270 const GLenum MAX_ELEMENT_INDEX = 0x8D6B;
273 const GLenum NUM_SAMPLE_COUNTS = 0x9380;
274 const GLenum TEXTURE_IMMUTABLE_LEVELS = 0x82DF; 271 const GLenum TEXTURE_IMMUTABLE_LEVELS = 0x82DF;
275 const GLint TIMEOUT_IGNORED = -1; 272 const GLint TIMEOUT_IGNORED = -1;
276 273
277 /* WebGL-specific enums */ 274 /* WebGL-specific enums */
278 const GLenum MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247; 275 const GLenum MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247;
279 276
280 /* Buffer objects */ 277 /* Buffer objects */
281 void bufferData(GLenum target, ArrayBufferView srcData, GLenum usage, GLuint srcOffset, optional GLuint length = 0); 278 void bufferData(GLenum target, ArrayBufferView srcData, GLenum usage, GLuint srcOffset, optional GLuint length = 0);
282 void bufferSubData(GLenum target, GLintptr dstByteOffset, ArrayBufferView sr cData, GLuint srcOffset, optional GLuint length = 0); 279 void bufferSubData(GLenum target, GLintptr dstByteOffset, ArrayBufferView sr cData, GLuint srcOffset, optional GLuint length = 0);
283 void copyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readO ffset, GLintptr writeOffset, GLsizeiptr size); 280 void copyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readO ffset, GLintptr writeOffset, GLsizeiptr size);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 WebGLVertexArrayObject createVertexArray(); 446 WebGLVertexArrayObject createVertexArray();
450 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); 447 void deleteVertexArray(WebGLVertexArrayObject? vertexArray);
451 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); 448 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
452 void bindVertexArray(WebGLVertexArrayObject? vertexArray); 449 void bindVertexArray(WebGLVertexArrayObject? vertexArray);
453 450
454 /* Reading */ 451 /* Reading */
455 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView dstData, GLintptr offset); 452 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView dstData, GLintptr offset);
456 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); 453 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset);
457 }; 454 };
458 WebGL2RenderingContextBase implements WebGLRenderingContextBase; 455 WebGL2RenderingContextBase implements WebGLRenderingContextBase;
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698