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

Side by Side Diff: Source/modules/webgl/WebGLCompressedTextureASTC.h

Issue 1265703005: Implement the texture uploading of ASTC compression for WebGL(part II) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add braces. Created 5 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebGLCompressedTextureASTC_h
6 #define WebGLCompressedTextureASTC_h
7
8 #include "modules/webgl/WebGLExtension.h"
9
10 namespace blink {
11
12 class WebGLCompressedTextureASTC final : public WebGLExtension {
13 DEFINE_WRAPPERTYPEINFO();
14 public:
15 typedef struct {
16 int CompressType;
17 int blockWidth;
18 int blockHeight;
19 } BlockSizeCompressASTC;
20
21 static WebGLCompressedTextureASTC* create(WebGLRenderingContextBase*);
22 static bool supported(WebGLRenderingContextBase*);
23 static const char* extensionName();
24
25 ~WebGLCompressedTextureASTC() override;
26 WebGLExtensionName name() const override;
27 static const BlockSizeCompressASTC kBlockSizeCompressASTC[];
28
29 private:
30 explicit WebGLCompressedTextureASTC(WebGLRenderingContextBase*);
31 };
32
33 } // namespace blink
34
35 #endif // WebGLCompressedTextureASTC_h
OLDNEW
« no previous file with comments | « Source/modules/webgl/WebGL2RenderingContext.cpp ('k') | Source/modules/webgl/WebGLCompressedTextureASTC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698