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 GC3Dboolean isProgram(WebGLProgram*); | 192 GC3Dboolean isProgram(WebGLProgram*); |
193 GC3Dboolean isRenderbuffer(WebGLRenderbuffer*); | 193 GC3Dboolean isRenderbuffer(WebGLRenderbuffer*); |
194 GC3Dboolean isShader(WebGLShader*); | 194 GC3Dboolean isShader(WebGLShader*); |
195 GC3Dboolean isTexture(WebGLTexture*); | 195 GC3Dboolean isTexture(WebGLTexture*); |
196 | 196 |
197 void lineWidth(GC3Dfloat); | 197 void lineWidth(GC3Dfloat); |
198 void linkProgram(WebGLProgram*, ExceptionCode&); | 198 void linkProgram(WebGLProgram*, ExceptionCode&); |
199 void pixelStorei(GC3Denum pname, GC3Dint param); | 199 void pixelStorei(GC3Denum pname, GC3Dint param); |
200 void polygonOffset(GC3Dfloat factor, GC3Dfloat units); | 200 void polygonOffset(GC3Dfloat factor, GC3Dfloat units); |
201 void readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height, GC3
Denum format, GC3Denum type, ArrayBufferView* pixels, ExceptionCode&); | 201 void readPixels(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height, GC3
Denum format, GC3Denum type, ArrayBufferView* pixels, ExceptionCode&); |
202 void releaseShaderCompiler(); | |
203 void renderbufferStorage(GC3Denum target, GC3Denum internalformat, GC3Dsizei
width, GC3Dsizei height); | 202 void renderbufferStorage(GC3Denum target, GC3Denum internalformat, GC3Dsizei
width, GC3Dsizei height); |
204 void sampleCoverage(GC3Dfloat value, GC3Dboolean invert); | 203 void sampleCoverage(GC3Dfloat value, GC3Dboolean invert); |
205 void scissor(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height); | 204 void scissor(GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height); |
206 void shaderSource(WebGLShader*, const String&, ExceptionCode&); | 205 void shaderSource(WebGLShader*, const String&, ExceptionCode&); |
207 void stencilFunc(GC3Denum func, GC3Dint ref, GC3Duint mask); | 206 void stencilFunc(GC3Denum func, GC3Dint ref, GC3Duint mask); |
208 void stencilFuncSeparate(GC3Denum face, GC3Denum func, GC3Dint ref, GC3Duint
mask); | 207 void stencilFuncSeparate(GC3Denum face, GC3Denum func, GC3Dint ref, GC3Duint
mask); |
209 void stencilMask(GC3Duint); | 208 void stencilMask(GC3Duint); |
210 void stencilMaskSeparate(GC3Denum face, GC3Duint mask); | 209 void stencilMaskSeparate(GC3Denum face, GC3Duint mask); |
211 void stencilOp(GC3Denum fail, GC3Denum zfail, GC3Denum zpass); | 210 void stencilOp(GC3Denum fail, GC3Denum zfail, GC3Denum zpass); |
212 void stencilOpSeparate(GC3Denum face, GC3Denum fail, GC3Denum zfail, GC3Denu
m zpass); | 211 void stencilOpSeparate(GC3Denum face, GC3Denum fail, GC3Denum zfail, GC3Denu
m zpass); |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 | 771 |
773 // Check if EXT_draw_buffers extension is supported and if it satisfies the
WebGL requirements. | 772 // Check if EXT_draw_buffers extension is supported and if it satisfies the
WebGL requirements. |
774 bool supportsDrawBuffers(); | 773 bool supportsDrawBuffers(); |
775 | 774 |
776 friend class WebGLStateRestorer; | 775 friend class WebGLStateRestorer; |
777 }; | 776 }; |
778 | 777 |
779 } // namespace WebCore | 778 } // namespace WebCore |
780 | 779 |
781 #endif | 780 #endif |
OLD | NEW |