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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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<WebGLCompressedTextureETC1> m_webglCompressedTextureETC1; | 91 Member<WebGLCompressedTextureETC1> m_webglCompressedTextureETC1; |
92 Member<WebGLCompressedTexturePVRTC> m_webglCompressedTexturePVRTC; | 92 Member<WebGLCompressedTexturePVRTC> m_webglCompressedTexturePVRTC; |
93 Member<WebGLCompressedTextureS3TC> m_webglCompressedTextureS3TC; | 93 Member<WebGLCompressedTextureS3TC> m_webglCompressedTextureS3TC; |
| 94 Member<WebGLCompressedTextureS3TCsRGB> m_webglCompressedTextureS3TCsRGB; |
94 Member<WebGLDepthTexture> m_webglDepthTexture; | 95 Member<WebGLDepthTexture> m_webglDepthTexture; |
95 }; | 96 }; |
96 | 97 |
97 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, | 98 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, |
98 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, | 99 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, |
99 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1)
; | 100 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1)
; |
100 | 101 |
101 } // namespace blink | 102 } // namespace blink |
102 | 103 |
103 #endif // WebGLRenderingContext_h | 104 #endif // WebGLRenderingContext_h |
OLD | NEW |