| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebGL2RenderingContext_h | 5 #ifndef WebGL2RenderingContext_h |
| 6 #define WebGL2RenderingContext_h | 6 #define WebGL2RenderingContext_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 9 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
| 9 #include "modules/webgl/WebGL2RenderingContextBase.h" | 10 #include "modules/webgl/WebGL2RenderingContextBase.h" |
| 10 #include <memory> | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CanvasContextCreationAttributes; | 14 class CanvasContextCreationAttributes; |
| 15 class EXTColorBufferFloat; | 15 class EXTColorBufferFloat; |
| 16 class EXTTextureFilterAnisotropic; | 16 class EXTTextureFilterAnisotropic; |
| 17 class OESTextureFloatLinear; | 17 class OESTextureFloatLinear; |
| 18 class WebGLDebugRendererInfo; | 18 class WebGLDebugRendererInfo; |
| 19 class WebGLLoseContext; | 19 class WebGLLoseContext; |
| 20 | 20 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 context, | 88 context, |
| 89 context->is3d() && | 89 context->is3d() && |
| 90 WebGLRenderingContextBase::getWebGLVersion(context) == 2, | 90 WebGLRenderingContextBase::getWebGLVersion(context) == 2, |
| 91 context.is3d() && | 91 context.is3d() && |
| 92 WebGLRenderingContextBase::getWebGLVersion(&context) == | 92 WebGLRenderingContextBase::getWebGLVersion(&context) == |
| 93 2); | 93 2); |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif | 97 #endif |
| OLD | NEW |