| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 Member<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinear; | 81 Member<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinear; |
| 82 Member<OESStandardDerivatives> m_oesStandardDerivatives; | 82 Member<OESStandardDerivatives> m_oesStandardDerivatives; |
| 83 Member<OESVertexArrayObject> m_oesVertexArrayObject; | 83 Member<OESVertexArrayObject> m_oesVertexArrayObject; |
| 84 Member<OESElementIndexUint> m_oesElementIndexUint; | 84 Member<OESElementIndexUint> m_oesElementIndexUint; |
| 85 Member<WebGLLoseContext> m_webglLoseContext; | 85 Member<WebGLLoseContext> m_webglLoseContext; |
| 86 Member<WebGLDebugRendererInfo> m_webglDebugRendererInfo; | 86 Member<WebGLDebugRendererInfo> m_webglDebugRendererInfo; |
| 87 Member<WebGLDebugShaders> m_webglDebugShaders; | 87 Member<WebGLDebugShaders> m_webglDebugShaders; |
| 88 Member<WebGLDrawBuffers> m_webglDrawBuffers; | 88 Member<WebGLDrawBuffers> m_webglDrawBuffers; |
| 89 Member<WebGLCompressedTextureASTC> m_webglCompressedTextureASTC; | 89 Member<WebGLCompressedTextureASTC> m_webglCompressedTextureASTC; |
| 90 Member<WebGLCompressedTextureATC> m_webglCompressedTextureATC; | 90 Member<WebGLCompressedTextureATC> m_webglCompressedTextureATC; |
| 91 Member<WebGLCompressedTextureES30> m_webglCompressedTextureES30; |
| 91 Member<WebGLCompressedTextureETC1> m_webglCompressedTextureETC1; | 92 Member<WebGLCompressedTextureETC1> m_webglCompressedTextureETC1; |
| 92 Member<WebGLCompressedTexturePVRTC> m_webglCompressedTexturePVRTC; | 93 Member<WebGLCompressedTexturePVRTC> m_webglCompressedTexturePVRTC; |
| 93 Member<WebGLCompressedTextureS3TC> m_webglCompressedTextureS3TC; | 94 Member<WebGLCompressedTextureS3TC> m_webglCompressedTextureS3TC; |
| 94 Member<WebGLCompressedTextureS3TCsRGB> m_webglCompressedTextureS3TCsRGB; | 95 Member<WebGLCompressedTextureS3TCsRGB> m_webglCompressedTextureS3TCsRGB; |
| 95 Member<WebGLDepthTexture> m_webglDepthTexture; | 96 Member<WebGLDepthTexture> m_webglDepthTexture; |
| 96 }; | 97 }; |
| 97 | 98 |
| 98 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, | 99 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, |
| 99 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, | 100 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, |
| 100 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1)
; | 101 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1)
; |
| 101 | 102 |
| 102 } // namespace blink | 103 } // namespace blink |
| 103 | 104 |
| 104 #endif // WebGLRenderingContext_h | 105 #endif // WebGLRenderingContext_h |
| OLD | NEW |