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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContextBase.idl

Issue 795833004: Use dictionaries for context creation attributes. Eliminate custom bindings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.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 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 545
546 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); 546 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index);
547 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); 547 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index);
548 548
549 sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program); 549 sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program);
550 550
551 GLint getAttribLocation(WebGLProgram? program, DOMString name); 551 GLint getAttribLocation(WebGLProgram? program, DOMString name);
552 552
553 [CallWith=ScriptState] any getBufferParameter(GLenum target, GLenum pname); 553 [CallWith=ScriptState] any getBufferParameter(GLenum target, GLenum pname);
554 554
555 WebGLContextAttributes getContextAttributes(); 555 WebGLContextAttributes? getContextAttributes();
556 556
557 GLenum getError(); 557 GLenum getError();
558 558
559 object? getExtension(DOMString name); 559 object? getExtension(DOMString name);
560 560
561 [CallWith=ScriptState] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname); 561 [CallWith=ScriptState] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname);
562 [CallWith=ScriptState] any getParameter(GLenum pname); 562 [CallWith=ScriptState] any getParameter(GLenum pname);
563 [CallWith=ScriptState] any getProgramParameter(WebGLProgram? program, GLenum pname); 563 [CallWith=ScriptState] any getProgramParameter(WebGLProgram? program, GLenum pname);
564 DOMString? getProgramInfoLog(WebGLProgram? program); 564 DOMString? getProgramInfoLog(WebGLProgram? program);
565 [CallWith=ScriptState] any getRenderbufferParameter(GLenum target, GLenum pn ame); 565 [CallWith=ScriptState] any getRenderbufferParameter(GLenum target, GLenum pn ame);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 void vertexAttrib3fv(GLuint indx, Float32Array values); 695 void vertexAttrib3fv(GLuint indx, Float32Array values);
696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); 696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values);
697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; 697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ;
698 void vertexAttrib4fv(GLuint indx, Float32Array values); 698 void vertexAttrib4fv(GLuint indx, Float32Array values);
699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); 699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values);
700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, 700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized,
701 GLsizei stride, GLintptr offset); 701 GLsizei stride, GLintptr offset);
702 702
703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
704 }; 704 };
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698