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