Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureES30.h

Issue 2354713004: Implement WEBGL_compressed_texture_es3_0 extension for WebGL 1/2 (Closed)
Patch Set: fixup Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 WebGLCompressedTextureS3TCsRGB_h 5 #ifndef WebGLCompressedTextureES30_h
6 #define WebGLCompressedTextureS3TCsRGB_h 6 #define WebGLCompressedTextureES30_h
7 7
8 #include "modules/webgl/WebGLExtension.h" 8 #include "modules/webgl/WebGLExtension.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class WebGLCompressedTextureS3TCsRGB final : public WebGLExtension { 12 class WebGLCompressedTextureES30 final : public WebGLExtension {
13 DEFINE_WRAPPERTYPEINFO(); 13 DEFINE_WRAPPERTYPEINFO();
14 public: 14 public:
15 static WebGLCompressedTextureS3TCsRGB* create(WebGLRenderingContextBase*); 15 static WebGLCompressedTextureES30* create(WebGLRenderingContextBase*);
16 static bool supported(WebGLRenderingContextBase*); 16 static bool supported(WebGLRenderingContextBase*);
17 static const char* extensionName(); 17 static const char* extensionName();
18 18
19 ~WebGLCompressedTextureS3TCsRGB() override; 19 ~WebGLCompressedTextureES30() override;
20 WebGLExtensionName name() const override; 20 WebGLExtensionName name() const override;
21 21
22 private: 22 private:
23 explicit WebGLCompressedTextureS3TCsRGB(WebGLRenderingContextBase*); 23 explicit WebGLCompressedTextureES30(WebGLRenderingContextBase*);
24 }; 24 };
25 25
26 } // namespace blink 26 } // namespace blink
27 27
28 #endif // WebGLCompressedTextureS3TCsRGB_h 28 #endif // WebGLCompressedTextureES30_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698