| 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 DECLARE_VIRTUAL_TRACE(); | 84 DECLARE_VIRTUAL_TRACE(); |
| 85 | 85 |
| 86 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 86 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
| 87 | 87 |
| 88 private: | 88 private: |
| 89 WebGLRenderingContext(HTMLCanvasElement*, | 89 WebGLRenderingContext(HTMLCanvasElement*, |
| 90 std::unique_ptr<WebGraphicsContext3DProvider>, | 90 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 91 const CanvasContextCreationAttributes&); | 91 const CanvasContextCreationAttributes&); |
| 92 WebGLRenderingContext(OffscreenCanvas*, | 92 WebGLRenderingContext(OffscreenCanvas*, |
| 93 std::unique_ptr<WebGraphicsContext3DProvider>, | 93 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 94 const CanvasContextCreationAttributes&); | 94 const CanvasContextCreationAttributes&, |
| 95 ExecutionContext*); |
| 95 | 96 |
| 96 // Enabled extension objects. | 97 // Enabled extension objects. |
| 97 Member<ANGLEInstancedArrays> m_angleInstancedArrays; | 98 Member<ANGLEInstancedArrays> m_angleInstancedArrays; |
| 98 Member<EXTBlendMinMax> m_extBlendMinMax; | 99 Member<EXTBlendMinMax> m_extBlendMinMax; |
| 99 Member<EXTDisjointTimerQuery> m_extDisjointTimerQuery; | 100 Member<EXTDisjointTimerQuery> m_extDisjointTimerQuery; |
| 100 Member<EXTFragDepth> m_extFragDepth; | 101 Member<EXTFragDepth> m_extFragDepth; |
| 101 Member<EXTShaderTextureLOD> m_extShaderTextureLOD; | 102 Member<EXTShaderTextureLOD> m_extShaderTextureLOD; |
| 102 Member<EXTsRGB> m_extsRGB; | 103 Member<EXTsRGB> m_extsRGB; |
| 103 Member<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic; | 104 Member<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic; |
| 104 Member<OESTextureFloat> m_oesTextureFloat; | 105 Member<OESTextureFloat> m_oesTextureFloat; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 127 context, | 128 context, |
| 128 context->is3d() && | 129 context->is3d() && |
| 129 WebGLRenderingContextBase::getWebGLVersion(context) == 1, | 130 WebGLRenderingContextBase::getWebGLVersion(context) == 1, |
| 130 context.is3d() && | 131 context.is3d() && |
| 131 WebGLRenderingContextBase::getWebGLVersion(&context) == | 132 WebGLRenderingContextBase::getWebGLVersion(&context) == |
| 132 1); | 133 1); |
| 133 | 134 |
| 134 } // namespace blink | 135 } // namespace blink |
| 135 | 136 |
| 136 #endif // WebGLRenderingContext_h | 137 #endif // WebGLRenderingContext_h |
| OLD | NEW |