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

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

Issue 1693953002: Minor WebGL 2 bug fixes for gl-object-get-calls test to pass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unsigned long GLenum; 5 typedef unsigned long GLenum;
6 typedef boolean GLboolean; 6 typedef boolean GLboolean;
7 typedef unsigned long GLbitfield; 7 typedef unsigned long GLbitfield;
8 typedef byte GLbyte; // 'byte' should be a signed 8 bit type. 8 typedef byte GLbyte; // 'byte' should be a signed 8 bit type.
9 typedef short GLshort; 9 typedef short GLshort;
10 typedef long GLint; 10 typedef long GLint;
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 void resumeTransformFeedback(); 424 void resumeTransformFeedback();
425 425
426 /* Uniform Buffer Objects and Transform Feedback Buffers */ 426 /* Uniform Buffer Objects and Transform Feedback Buffers */
427 void bindBufferBase(GLenum target, GLuint index, WebGLBuffer? buffer); 427 void bindBufferBase(GLenum target, GLuint index, WebGLBuffer? buffer);
428 void bindBufferRange(GLenum target, GLuint index, WebGLBuffer? buffer, GLint ptr offset, GLsizeiptr size); 428 void bindBufferRange(GLenum target, GLuint index, WebGLBuffer? buffer, GLint ptr offset, GLsizeiptr size);
429 [CallWith=ScriptState] any getIndexedParameter(GLenum target, GLuint index); 429 [CallWith=ScriptState] any getIndexedParameter(GLenum target, GLuint index);
430 sequence<GLuint>? getUniformIndices(WebGLProgram? program, sequence<DOMStrin g> uniformNames); 430 sequence<GLuint>? getUniformIndices(WebGLProgram? program, sequence<DOMStrin g> uniformNames);
431 [CallWith=ScriptState] any getActiveUniforms(WebGLProgram? program, sequence <GLuint> uniformIndices, GLenum pname); 431 [CallWith=ScriptState] any getActiveUniforms(WebGLProgram? program, sequence <GLuint> uniformIndices, GLenum pname);
432 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam e); 432 GLuint getUniformBlockIndex(WebGLProgram? program, DOMString uniformBlockNam e);
433 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog ram, GLuint uniformBlockIndex, GLenum pname); 433 [CallWith=ScriptState] any getActiveUniformBlockParameter(WebGLProgram? prog ram, GLuint uniformBlockIndex, GLenum pname);
434 DOMString getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBlo ckIndex); 434 DOMString? getActiveUniformBlockName(WebGLProgram? program, GLuint uniformBl ockIndex);
435 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL uint uniformBlockBinding); 435 void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GL uint uniformBlockBinding);
436 436
437 /* Vertex Array Objects */ 437 /* Vertex Array Objects */
438 WebGLVertexArrayObject createVertexArray(); 438 WebGLVertexArrayObject createVertexArray();
439 [CallWith=ScriptState] void deleteVertexArray(WebGLVertexArrayObject? vertex Array); 439 [CallWith=ScriptState] void deleteVertexArray(WebGLVertexArrayObject? vertex Array);
440 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); 440 GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
441 [CallWith=ScriptState] void bindVertexArray(WebGLVertexArrayObject? vertexAr ray); 441 [CallWith=ScriptState] void bindVertexArray(WebGLVertexArrayObject? vertexAr ray);
442 442
443 /* Reading */ 443 /* Reading */
444 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); 444 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset);
445 }; 445 };
446 WebGL2RenderingContextBase implements WebGLRenderingContextBase; 446 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