| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 void setCanvasGetContextResult(RenderingContext&) final; | 56 void setCanvasGetContextResult(RenderingContext&) final; |
| 57 | 57 |
| 58 EAGERLY_FINALIZE(); | 58 EAGERLY_FINALIZE(); |
| 59 DECLARE_VIRTUAL_TRACE(); | 59 DECLARE_VIRTUAL_TRACE(); |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 WebGLRenderingContext(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3DPro
vider>, const WebGLContextAttributes&); | 62 WebGLRenderingContext(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3DPro
vider>, const WebGLContextAttributes&); |
| 63 | 63 |
| 64 // Enabled extension objects. | 64 // Enabled extension objects. |
| 65 Member<ANGLEInstancedArrays> m_angleInstancedArrays; | 65 Member<ANGLEInstancedArrays> m_angleInstancedArrays; |
| 66 Member<CHROMIUMSubscribeUniform> m_chromiumSubscribeUniform; | |
| 67 Member<EXTBlendMinMax> m_extBlendMinMax; | 66 Member<EXTBlendMinMax> m_extBlendMinMax; |
| 68 Member<EXTDisjointTimerQuery> m_extDisjointTimerQuery; | 67 Member<EXTDisjointTimerQuery> m_extDisjointTimerQuery; |
| 69 Member<EXTFragDepth> m_extFragDepth; | 68 Member<EXTFragDepth> m_extFragDepth; |
| 70 Member<EXTShaderTextureLOD> m_extShaderTextureLOD; | 69 Member<EXTShaderTextureLOD> m_extShaderTextureLOD; |
| 71 Member<EXTsRGB> m_extsRGB; | 70 Member<EXTsRGB> m_extsRGB; |
| 72 Member<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic; | 71 Member<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic; |
| 73 Member<OESTextureFloat> m_oesTextureFloat; | 72 Member<OESTextureFloat> m_oesTextureFloat; |
| 74 Member<OESTextureFloatLinear> m_oesTextureFloatLinear; | 73 Member<OESTextureFloatLinear> m_oesTextureFloatLinear; |
| 75 Member<OESTextureHalfFloat> m_oesTextureHalfFloat; | 74 Member<OESTextureHalfFloat> m_oesTextureHalfFloat; |
| 76 Member<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinear; | 75 Member<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinear; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 89 Member<WebGLDepthTexture> m_webglDepthTexture; | 88 Member<WebGLDepthTexture> m_webglDepthTexture; |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, | 91 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, |
| 93 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, | 92 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, |
| 94 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1)
; | 93 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1)
; |
| 95 | 94 |
| 96 } // namespace blink | 95 } // namespace blink |
| 97 | 96 |
| 98 #endif // WebGLRenderingContext_h | 97 #endif // WebGLRenderingContext_h |
| OLD | NEW |