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

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

Issue 928233002: IDL: Don't lose nullable flag when "preprocessing" type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix compilation Created 5 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
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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 [CallWith=ScriptState] 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);
566 [CallWith=ScriptState] any getShaderParameter(WebGLShader? shader, GLenum pn ame); 566 [CallWith=ScriptState] any getShaderParameter(WebGLShader? shader, GLenum pn ame);
567 567
568 DOMString? getShaderInfoLog(WebGLShader? shader); 568 DOMString? getShaderInfoLog(WebGLShader? shader);
569 569
(...skipping 125 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

Powered by Google App Engine
This is Rietveld 408576698