| 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 bool isContextLost() const override; | 256 bool isContextLost() const override; |
| 257 GLboolean isEnabled(GLenum cap); | 257 GLboolean isEnabled(GLenum cap); |
| 258 GLboolean isFramebuffer(WebGLFramebuffer*); | 258 GLboolean isFramebuffer(WebGLFramebuffer*); |
| 259 GLboolean isProgram(WebGLProgram*); | 259 GLboolean isProgram(WebGLProgram*); |
| 260 GLboolean isRenderbuffer(WebGLRenderbuffer*); | 260 GLboolean isRenderbuffer(WebGLRenderbuffer*); |
| 261 GLboolean isShader(WebGLShader*); | 261 GLboolean isShader(WebGLShader*); |
| 262 GLboolean isTexture(WebGLTexture*); | 262 GLboolean isTexture(WebGLTexture*); |
| 263 | 263 |
| 264 void lineWidth(GLfloat); | 264 void lineWidth(GLfloat); |
| 265 void linkProgram(WebGLProgram*); | 265 void linkProgram(WebGLProgram*); |
| 266 void pixelStorei(GLenum pname, GLint param); | 266 virtual void pixelStorei(GLenum pname, GLint param); |
| 267 void polygonOffset(GLfloat factor, GLfloat units); | 267 void polygonOffset(GLfloat factor, GLfloat units); |
| 268 virtual void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLe
num format, GLenum type, DOMArrayBufferView* pixels); | 268 virtual void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLe
num format, GLenum type, DOMArrayBufferView* pixels); |
| 269 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width
, GLsizei height); | 269 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width
, GLsizei height); |
| 270 void sampleCoverage(GLfloat value, GLboolean invert); | 270 void sampleCoverage(GLfloat value, GLboolean invert); |
| 271 void scissor(GLint x, GLint y, GLsizei width, GLsizei height); | 271 void scissor(GLint x, GLint y, GLsizei width, GLsizei height); |
| 272 void shaderSource(WebGLShader*, const String&); | 272 void shaderSource(WebGLShader*, const String&); |
| 273 void stencilFunc(GLenum func, GLint ref, GLuint mask); | 273 void stencilFunc(GLenum func, GLint ref, GLuint mask); |
| 274 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); | 274 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
| 275 void stencilMask(GLuint); | 275 void stencilMask(GLuint); |
| 276 void stencilMaskSeparate(GLenum face, GLuint mask); | 276 void stencilMaskSeparate(GLenum face, GLuint mask); |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 static WebGLRenderingContextBase* oldestEvictedContext(); | 1106 static WebGLRenderingContextBase* oldestEvictedContext(); |
| 1107 }; | 1107 }; |
| 1108 | 1108 |
| 1109 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1109 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1110 | 1110 |
| 1111 } // namespace blink | 1111 } // namespace blink |
| 1112 | 1112 |
| 1113 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1113 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1114 | 1114 |
| 1115 #endif // WebGLRenderingContextBase_h | 1115 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |