| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 void bindTexture(GLenum target, WebGLTexture*); | 131 void bindTexture(GLenum target, WebGLTexture*); |
| 132 void blendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | 132 void blendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 133 void blendEquation(GLenum mode); | 133 void blendEquation(GLenum mode); |
| 134 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); | 134 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
| 135 void blendFunc(GLenum sfactor, GLenum dfactor); | 135 void blendFunc(GLenum sfactor, GLenum dfactor); |
| 136 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum
dstAlpha); | 136 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum
dstAlpha); |
| 137 | 137 |
| 138 void bufferData(GLenum target, long long size, GLenum usage); | 138 void bufferData(GLenum target, long long size, GLenum usage); |
| 139 void bufferData(GLenum target, DOMArrayBuffer* data, GLenum usage); | 139 void bufferData(GLenum target, DOMArrayBuffer* data, GLenum usage); |
| 140 void bufferData(GLenum target, DOMArrayBufferView* data, GLenum usage); | 140 void bufferData(GLenum target, DOMArrayBufferView* data, GLenum usage); |
| 141 void bufferSubData(GLenum target, long long offset, const void* data, size_t
byteLength); |
| 141 void bufferSubData(GLenum target, long long offset, DOMArrayBuffer* data); | 142 void bufferSubData(GLenum target, long long offset, DOMArrayBuffer* data); |
| 142 void bufferSubData(GLenum target, long long offset, DOMArrayBufferView* data
); | 143 void bufferSubData(GLenum target, long long offset, DOMArrayBufferView* data
); |
| 143 | 144 |
| 144 GLenum checkFramebufferStatus(GLenum target); | 145 GLenum checkFramebufferStatus(GLenum target); |
| 145 void clear(GLbitfield mask); | 146 void clear(GLbitfield mask); |
| 146 void clearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | 147 void clearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 147 void clearDepth(GLfloat); | 148 void clearDepth(GLfloat); |
| 148 void clearStencil(GLint); | 149 void clearStencil(GLint); |
| 149 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp
ha); | 150 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp
ha); |
| 150 void compileShader(WebGLShader*); | 151 void compileShader(WebGLShader*); |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 static IntSize oldestContextSize(); | 1005 static IntSize oldestContextSize(); |
| 1005 }; | 1006 }; |
| 1006 | 1007 |
| 1007 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1008 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1008 | 1009 |
| 1009 } // namespace blink | 1010 } // namespace blink |
| 1010 | 1011 |
| 1011 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1012 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1012 | 1013 |
| 1013 #endif // WebGLRenderingContextBase_h | 1014 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |