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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 GLenum format, GLenum type, DOMArrayBufferView*); | 296 GLenum format, GLenum type, DOMArrayBufferView*); |
297 void texImage2D(GLenum target, GLint level, GLint internalformat, | 297 void texImage2D(GLenum target, GLint level, GLint internalformat, |
298 GLenum format, GLenum type, ImageData*); | 298 GLenum format, GLenum type, ImageData*); |
299 void texImage2D(GLenum target, GLint level, GLint internalformat, | 299 void texImage2D(GLenum target, GLint level, GLint internalformat, |
300 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&); | 300 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&); |
301 void texImage2D(GLenum target, GLint level, GLint internalformat, | 301 void texImage2D(GLenum target, GLint level, GLint internalformat, |
302 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); | 302 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); |
303 void texImage2D(GLenum target, GLint level, GLint internalformat, | 303 void texImage2D(GLenum target, GLint level, GLint internalformat, |
304 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&); | 304 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&); |
305 void texImage2D(GLenum target, GLint level, GLint internalformat, | 305 void texImage2D(GLenum target, GLint level, GLint internalformat, |
306 GLenum format, GLenum type, PassRefPtrWillBeRawPtr<ImageBitmap>); | 306 GLenum format, GLenum type, PassRefPtrWillBeRawPtr<ImageBitmap>, Excepti
onState&); |
307 | 307 |
308 void texParameterf(GLenum target, GLenum pname, GLfloat param); | 308 void texParameterf(GLenum target, GLenum pname, GLfloat param); |
309 void texParameteri(GLenum target, GLenum pname, GLint param); | 309 void texParameteri(GLenum target, GLenum pname, GLint param); |
310 | 310 |
311 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, | 311 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, |
312 GLsizei width, GLsizei height, | 312 GLsizei width, GLsizei height, |
313 GLenum format, GLenum type, DOMArrayBufferView*); | 313 GLenum format, GLenum type, DOMArrayBufferView*); |
314 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, | 314 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, |
315 GLenum format, GLenum type, ImageData*); | 315 GLenum format, GLenum type, ImageData*); |
316 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, | 316 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, |
317 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&); | 317 GLenum format, GLenum type, HTMLImageElement*, ExceptionState&); |
318 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, | 318 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, |
319 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); | 319 GLenum format, GLenum type, HTMLCanvasElement*, ExceptionState&); |
320 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, | 320 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, |
321 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&); | 321 GLenum format, GLenum type, HTMLVideoElement*, ExceptionState&); |
322 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, | 322 void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, |
323 GLenum format, GLenum type, PassRefPtrWillBeRawPtr<ImageBitmap>); | 323 GLenum format, GLenum type, PassRefPtrWillBeRawPtr<ImageBitmap>, Excepti
onState&); |
324 | 324 |
325 void uniform1f(const WebGLUniformLocation*, GLfloat x); | 325 void uniform1f(const WebGLUniformLocation*, GLfloat x); |
326 void uniform1fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView&
); | 326 void uniform1fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView&
); |
327 void uniform1fv(const WebGLUniformLocation*, Vector<GLfloat>&); | 327 void uniform1fv(const WebGLUniformLocation*, Vector<GLfloat>&); |
328 void uniform1i(const WebGLUniformLocation*, GLint x); | 328 void uniform1i(const WebGLUniformLocation*, GLint x); |
329 void uniform1iv(const WebGLUniformLocation*, const FlexibleInt32ArrayView&); | 329 void uniform1iv(const WebGLUniformLocation*, const FlexibleInt32ArrayView&); |
330 void uniform1iv(const WebGLUniformLocation*, Vector<GLint>&); | 330 void uniform1iv(const WebGLUniformLocation*, Vector<GLint>&); |
331 void uniform2f(const WebGLUniformLocation*, GLfloat x, GLfloat y); | 331 void uniform2f(const WebGLUniformLocation*, GLfloat x, GLfloat y); |
332 void uniform2fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView&
); | 332 void uniform2fv(const WebGLUniformLocation*, const FlexibleFloat32ArrayView&
); |
333 void uniform2fv(const WebGLUniformLocation*, Vector<GLfloat>&); | 333 void uniform2fv(const WebGLUniformLocation*, Vector<GLfloat>&); |
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 static WebGLRenderingContextBase* oldestEvictedContext(); | 1115 static WebGLRenderingContextBase* oldestEvictedContext(); |
1116 }; | 1116 }; |
1117 | 1117 |
1118 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1118 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
1119 | 1119 |
1120 } // namespace blink | 1120 } // namespace blink |
1121 | 1121 |
1122 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1122 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
1123 | 1123 |
1124 #endif // WebGLRenderingContextBase_h | 1124 #endif // WebGLRenderingContextBase_h |
OLD | NEW |