| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 context, | 79 context, |
| 80 context->Is3d() && | 80 context->Is3d() && |
| 81 WebGLRenderingContextBase::GetWebGLVersion(context) == 2, | 81 WebGLRenderingContextBase::GetWebGLVersion(context) == 2, |
| 82 context.Is3d() && | 82 context.Is3d() && |
| 83 WebGLRenderingContextBase::GetWebGLVersion(&context) == | 83 WebGLRenderingContextBase::GetWebGLVersion(&context) == |
| 84 2); | 84 2); |
| 85 | 85 |
| 86 } // namespace blink | 86 } // namespace blink |
| 87 | 87 |
| 88 #endif | 88 #endif |
| OLD | NEW |