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

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

Issue 2366453002: remove ETC2/EAC texture support in core WebGL 2 (Closed)
Patch Set: rebase Created 4 years, 2 months 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/Source/modules/webgl/WebGL2RenderingContextBase.cpp ('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 6
7 [ 7 [
8 RuntimeEnabled=UnsafeES3APIs, 8 RuntimeEnabled=UnsafeES3APIs,
9 NoInterfaceObject, 9 NoInterfaceObject,
10 ] interface WebGL2RenderingContextBase { 10 ] interface WebGL2RenderingContextBase {
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 264 const GLenum GREEN = 0x1904;
265 const GLenum BLUE = 0x1905; 265 const GLenum BLUE = 0x1905;
266 const GLenum INT_2_10_10_10_REV = 0x8D9F; 266 const GLenum INT_2_10_10_10_REV = 0x8D9F;
267 const GLenum TRANSFORM_FEEDBACK = 0x8E22; 267 const GLenum TRANSFORM_FEEDBACK = 0x8E22;
268 const GLenum TRANSFORM_FEEDBACK_PAUSED = 0x8E23; 268 const GLenum TRANSFORM_FEEDBACK_PAUSED = 0x8E23;
269 const GLenum TRANSFORM_FEEDBACK_ACTIVE = 0x8E24; 269 const GLenum TRANSFORM_FEEDBACK_ACTIVE = 0x8E24;
270 const GLenum TRANSFORM_FEEDBACK_BINDING = 0x8E25; 270 const GLenum TRANSFORM_FEEDBACK_BINDING = 0x8E25;
271 const GLenum COMPRESSED_R11_EAC = 0x9270;
272 const GLenum COMPRESSED_SIGNED_R11_EAC = 0x9271;
273 const GLenum COMPRESSED_RG11_EAC = 0x9272;
274 const GLenum COMPRESSED_SIGNED_RG11_EAC = 0x9273;
275 const GLenum COMPRESSED_RGB8_ETC2 = 0x9274;
276 const GLenum COMPRESSED_SRGB8_ETC2 = 0x9275;
277 const GLenum COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276;
278 const GLenum COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277;
279 const GLenum COMPRESSED_RGBA8_ETC2_EAC = 0x9278;
280 const GLenum COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279;
281 const GLenum TEXTURE_IMMUTABLE_FORMAT = 0x912F; 271 const GLenum TEXTURE_IMMUTABLE_FORMAT = 0x912F;
282 const GLenum MAX_ELEMENT_INDEX = 0x8D6B; 272 const GLenum MAX_ELEMENT_INDEX = 0x8D6B;
283 const GLenum NUM_SAMPLE_COUNTS = 0x9380; 273 const GLenum NUM_SAMPLE_COUNTS = 0x9380;
284 const GLenum TEXTURE_IMMUTABLE_LEVELS = 0x82DF; 274 const GLenum TEXTURE_IMMUTABLE_LEVELS = 0x82DF;
285 const GLint TIMEOUT_IGNORED = -1; 275 const GLint TIMEOUT_IGNORED = -1;
286 276
287 /* WebGL-specific enums */ 277 /* WebGL-specific enums */
288 const GLenum MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247; 278 const GLenum MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247;
289 279
290 /* Buffer objects */ 280 /* Buffer objects */
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 /* Vertex Array Objects */ 444 /* Vertex Array Objects */
455 WebGLVertexArrayObject createVertexArray(); 445 WebGLVertexArrayObject createVertexArray();
456 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); 446 void deleteVertexArray(WebGLVertexArrayObject? vertexArray);
457 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); 447 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
458 void bindVertexArray(WebGLVertexArrayObject? vertexArray); 448 void bindVertexArray(WebGLVertexArrayObject? vertexArray);
459 449
460 /* Reading */ 450 /* Reading */
461 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);
462 }; 452 };
463 WebGL2RenderingContextBase implements WebGLRenderingContextBase; 453 WebGL2RenderingContextBase implements WebGLRenderingContextBase;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698