Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 void generateMipmap(GLenum target); | 192 void generateMipmap(GLenum target); |
| 193 | 193 |
| 194 PassRefPtrWillBeRawPtr<WebGLActiveInfo> getActiveAttrib(WebGLProgram*, GLuin t index); | 194 PassRefPtrWillBeRawPtr<WebGLActiveInfo> getActiveAttrib(WebGLProgram*, GLuin t index); |
| 195 PassRefPtrWillBeRawPtr<WebGLActiveInfo> getActiveUniform(WebGLProgram*, GLui nt index); | 195 PassRefPtrWillBeRawPtr<WebGLActiveInfo> getActiveUniform(WebGLProgram*, GLui nt index); |
| 196 bool getAttachedShaders(WebGLProgram*, WillBeHeapVector<RefPtrWillBeMember<W ebGLShader>>&); | 196 bool getAttachedShaders(WebGLProgram*, WillBeHeapVector<RefPtrWillBeMember<W ebGLShader>>&); |
| 197 Nullable<WillBeHeapVector<RefPtrWillBeMember<WebGLShader>>> getAttachedShade rs(WebGLProgram*); | 197 Nullable<WillBeHeapVector<RefPtrWillBeMember<WebGLShader>>> getAttachedShade rs(WebGLProgram*); |
| 198 GLint getAttribLocation(WebGLProgram*, const String& name); | 198 GLint getAttribLocation(WebGLProgram*, const String& name); |
| 199 ScriptValue getBufferParameter(ScriptState*, GLenum target, GLenum pname); | 199 ScriptValue getBufferParameter(ScriptState*, GLenum target, GLenum pname); |
| 200 void getContextAttributes(Nullable<WebGLContextAttributes>&); | 200 void getContextAttributes(Nullable<WebGLContextAttributes>&); |
| 201 GLenum getError(); | 201 GLenum getError(); |
| 202 PassRefPtrWillBeRawPtr<WebGLExtension> getExtension(const String& name); | 202 ScriptValue getExtension(ScriptState*, const String& name); |
|
Jens Widell
2015/02/16 14:33:54
This signature worked only by mistake. A method re
| |
| 203 ScriptValue getFramebufferAttachmentParameter(ScriptState*, GLenum target, G Lenum attachment, GLenum pname); | 203 ScriptValue getFramebufferAttachmentParameter(ScriptState*, GLenum target, G Lenum attachment, GLenum pname); |
| 204 ScriptValue getParameter(ScriptState*, GLenum pname); | 204 ScriptValue getParameter(ScriptState*, GLenum pname); |
| 205 ScriptValue getProgramParameter(ScriptState*, WebGLProgram*, GLenum pname); | 205 ScriptValue getProgramParameter(ScriptState*, WebGLProgram*, GLenum pname); |
| 206 String getProgramInfoLog(WebGLProgram*); | 206 String getProgramInfoLog(WebGLProgram*); |
| 207 ScriptValue getRenderbufferParameter(ScriptState*, GLenum target, GLenum pna me); | 207 ScriptValue getRenderbufferParameter(ScriptState*, GLenum target, GLenum pna me); |
| 208 ScriptValue getShaderParameter(ScriptState*, WebGLShader*, GLenum pname); | 208 ScriptValue getShaderParameter(ScriptState*, WebGLShader*, GLenum pname); |
| 209 String getShaderInfoLog(WebGLShader*); | 209 String getShaderInfoLog(WebGLShader*); |
| 210 PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> getShaderPrecisionFormat( GLenum shaderType, GLenum precisionType); | 210 PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> getShaderPrecisionFormat( GLenum shaderType, GLenum precisionType); |
| 211 String getShaderSource(WebGLShader*); | 211 String getShaderSource(WebGLShader*); |
| 212 Nullable<Vector<String>> getSupportedExtensions(); | 212 Nullable<Vector<String>> getSupportedExtensions(); |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 989 static IntSize oldestContextSize(); | 989 static IntSize oldestContextSize(); |
| 990 }; | 990 }; |
| 991 | 991 |
| 992 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co ntext->is3d(), context.is3d()); | 992 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co ntext->is3d(), context.is3d()); |
| 993 | 993 |
| 994 } // namespace blink | 994 } // namespace blink |
| 995 | 995 |
| 996 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB ase::TextureUnitState); | 996 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB ase::TextureUnitState); |
| 997 | 997 |
| 998 #endif // WebGLRenderingContextBase_h | 998 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |