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

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

Issue 2495613003: comment out getBufferSubDataAsync so conformance2/context/methods-2.html can pass (Closed)
Patch Set: update global interface listing 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 const GLint TIMEOUT_IGNORED = -1; 275 const GLint TIMEOUT_IGNORED = -1;
276 276
277 /* WebGL-specific enums */ 277 /* WebGL-specific enums */
278 const GLenum MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247; 278 const GLenum MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247;
279 279
280 /* Buffer objects */ 280 /* Buffer objects */
281 void bufferData(GLenum target, ArrayBufferView srcData, GLenum usage, GLuint srcOffset, optional GLuint length = 0); 281 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); 282 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); 283 void copyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readO ffset, GLintptr writeOffset, GLsizeiptr size);
284 void getBufferSubData(GLenum target, GLintptr srcByteOffset, ArrayBufferView dstData, optional GLuint dstOffset = 0, optional GLuint length = 0); 284 void getBufferSubData(GLenum target, GLintptr srcByteOffset, ArrayBufferView dstData, optional GLuint dstOffset = 0, optional GLuint length = 0);
285 [CallWith=ScriptState, RuntimeEnabled=ExperimentalCanvasFeatures] Promise<Ar rayBufferView> getBufferSubDataAsync(GLenum target, GLintptr srcByteOffset, Arra yBufferView dstData, optional GLuint dstOffset = 0, optional GLuint length = 0); 285 // TODO(kainino): Move getBufferSubDataAsync to an extension. http://crbug.c om/616554
286 //[CallWith=ScriptState, RuntimeEnabled=ExperimentalCanvasFeatures] Promise< ArrayBufferView> getBufferSubDataAsync(GLenum target, GLintptr srcByteOffset, Ar rayBufferView dstData, optional GLuint dstOffset = 0, optional GLuint length = 0 );
286 287
287 /* Framebuffer objects */ 288 /* Framebuffer objects */
288 void blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLi nt dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) ; 289 void blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLi nt dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) ;
289 void framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level, GLint layer); 290 void framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level, GLint layer);
290 [CallWith=ScriptState] any getInternalformatParameter(GLenum target, GLenum internalformat, GLenum pname); 291 [CallWith=ScriptState] any getInternalformatParameter(GLenum target, GLenum internalformat, GLenum pname);
291 void invalidateFramebuffer(GLenum target, sequence<GLenum> attachments); 292 void invalidateFramebuffer(GLenum target, sequence<GLenum> attachments);
292 void invalidateSubFramebuffer(GLenum target, sequence<GLenum> attachments, G Lint x, GLint y, GLsizei width, GLsizei height); 293 void invalidateSubFramebuffer(GLenum target, sequence<GLenum> attachments, G Lint x, GLint y, GLsizei width, GLsizei height);
293 void readBuffer(GLenum mode); 294 void readBuffer(GLenum mode);
294 295
295 /* Renderbuffer objects */ 296 /* Renderbuffer objects */
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 WebGLVertexArrayObject createVertexArray(); 455 WebGLVertexArrayObject createVertexArray();
455 void deleteVertexArray(WebGLVertexArrayObject? vertexArray); 456 void deleteVertexArray(WebGLVertexArrayObject? vertexArray);
456 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); 457 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
457 void bindVertexArray(WebGLVertexArrayObject? vertexArray); 458 void bindVertexArray(WebGLVertexArrayObject? vertexArray);
458 459
459 /* Reading */ 460 /* Reading */
460 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView dstData, GLintptr offset); 461 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView dstData, GLintptr offset);
461 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); 462 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset);
462 }; 463 };
463 WebGL2RenderingContextBase implements WebGLRenderingContextBase; 464 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