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 "bindings/core/v8/TraceWrapperMember.h" | 8 #include <memory> |
9 #include "modules/webgl/WebGLExtension.h" | 9 #include "modules/webgl/WebGLExtension.h" |
10 #include "modules/webgl/WebGLRenderingContextBase.h" | 10 #include "modules/webgl/WebGLRenderingContextBase.h" |
11 #include <memory> | 11 #include "platform/bindings/TraceWrapperMember.h" |
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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1150 context, | 1150 context, |
1151 context->Is3d() && | 1151 context->Is3d() && |
1152 WebGLRenderingContextBase::GetWebGLVersion(context) >= 2, | 1152 WebGLRenderingContextBase::GetWebGLVersion(context) >= 2, |
1153 context.Is3d() && | 1153 context.Is3d() && |
1154 WebGLRenderingContextBase::GetWebGLVersion(&context) >= | 1154 WebGLRenderingContextBase::GetWebGLVersion(&context) >= |
1155 2); | 1155 2); |
1156 | 1156 |
1157 } // namespace blink | 1157 } // namespace blink |
1158 | 1158 |
1159 #endif | 1159 #endif |
OLD | NEW |