OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTShaderTextureLOD_h | 5 #ifndef EXTShaderTextureLOD_h |
6 #define EXTShaderTextureLOD_h | 6 #define EXTShaderTextureLOD_h |
7 | 7 |
8 #include "modules/webgl/WebGLExtension.h" | 8 #include "modules/webgl/WebGLExtension.h" |
9 #include "wtf/PassRefPtr.h" | |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 class EXTShaderTextureLOD final : public WebGLExtension { | 12 class EXTShaderTextureLOD final : public WebGLExtension { |
14 DEFINE_WRAPPERTYPEINFO(); | 13 DEFINE_WRAPPERTYPEINFO(); |
15 public: | 14 public: |
16 static PassRefPtrWillBeRawPtr<EXTShaderTextureLOD> create(WebGLRenderingCont
extBase*); | 15 static EXTShaderTextureLOD* create(WebGLRenderingContextBase*); |
17 static bool supported(WebGLRenderingContextBase*); | 16 static bool supported(WebGLRenderingContextBase*); |
18 static const char* extensionName(); | 17 static const char* extensionName(); |
19 | 18 |
20 ~EXTShaderTextureLOD() override; | 19 ~EXTShaderTextureLOD() override; |
21 WebGLExtensionName name() const override; | 20 WebGLExtensionName name() const override; |
22 | 21 |
23 private: | 22 private: |
24 explicit EXTShaderTextureLOD(WebGLRenderingContextBase*); | 23 explicit EXTShaderTextureLOD(WebGLRenderingContextBase*); |
25 }; | 24 }; |
26 | 25 |
27 } // namespace blink | 26 } // namespace blink |
28 | 27 |
29 #endif // EXTShaderTextureLOD_h | 28 #endif // EXTShaderTextureLOD_h |
OLD | NEW |