| Index: Source/modules/webgl/WebGLCompressedTextureASTC.h
|
| diff --git a/Source/modules/webgl/WebGLCompressedTextureASTC.h b/Source/modules/webgl/WebGLCompressedTextureASTC.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1f00dabc342b56317ec9c4a35a54d17a26c9952d
|
| --- /dev/null
|
| +++ b/Source/modules/webgl/WebGLCompressedTextureASTC.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebGLCompressedTextureASTC_h
|
| +#define WebGLCompressedTextureASTC_h
|
| +
|
| +#include "modules/webgl/WebGLExtension.h"
|
| +#include "wtf/PassRefPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebGLCompressedTextureASTC final : public WebGLExtension {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + typedef struct {
|
| + int CompressType;
|
| + int blockWidth;
|
| + int blockHeight;
|
| + } BlockSizeCompressASTC;
|
| +
|
| + static PassRefPtrWillBeRawPtr<WebGLCompressedTextureASTC> create(WebGLRenderingContextBase*);
|
| + static bool supported(WebGLRenderingContextBase*);
|
| + static const char* extensionName();
|
| +
|
| + ~WebGLCompressedTextureASTC() override;
|
| + WebGLExtensionName name() const override;
|
| + static const BlockSizeCompressASTC kBlockSizeCompressASTC[];
|
| + static const int kSizeOfBlockSizeCompressASTC;
|
| +
|
| +private:
|
| + explicit WebGLCompressedTextureASTC(WebGLRenderingContextBase*);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebGLCompressedTextureASTC_h
|
|
|