| 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 WebGL2RenderingContextBase_h | 5 #ifndef WebGL2RenderingContextBase_h |
| 6 #define WebGL2RenderingContextBase_h | 6 #define WebGL2RenderingContextBase_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "bindings/core/v8/TraceWrapperMember.h" | 9 #include "bindings/core/v8/TraceWrapperMember.h" |
| 9 #include "modules/webgl/WebGLExtension.h" | 10 #include "modules/webgl/WebGLExtension.h" |
| 10 #include "modules/webgl/WebGLRenderingContextBase.h" | 11 #include "modules/webgl/WebGLRenderingContextBase.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class WebGLTexture; | 15 class WebGLTexture; |
| 16 | 16 |
| 17 class WebGLActiveInfo; | 17 class WebGLActiveInfo; |
| 18 class WebGLBuffer; | 18 class WebGLBuffer; |
| 19 class WebGLGetBufferSubDataAsync; | 19 class WebGLGetBufferSubDataAsync; |
| 20 class WebGLGetBufferSubDataAsyncCallback; | 20 class WebGLGetBufferSubDataAsyncCallback; |
| 21 class WebGLProgram; | 21 class WebGLProgram; |
| (...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1117 context, | 1117 context, |
| 1118 context->is3d() && | 1118 context->is3d() && |
| 1119 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, | 1119 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, |
| 1120 context.is3d() && | 1120 context.is3d() && |
| 1121 WebGLRenderingContextBase::getWebGLVersion(&context) >= | 1121 WebGLRenderingContextBase::getWebGLVersion(&context) >= |
| 1122 2); | 1122 2); |
| 1123 | 1123 |
| 1124 } // namespace blink | 1124 } // namespace blink |
| 1125 | 1125 |
| 1126 #endif | 1126 #endif |
| OLD | NEW |