blob: 357415f4090d20e8e855c326e5b22bd2b7afdf3a [file]
// Copyright 2014 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 WebGLCompressedTextureETC1_h
#define WebGLCompressedTextureETC1_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
#include "wtf/PassRefPtr.h"
namespace blink {
class WebGLTexture;
class WebGLCompressedTextureETC1 final : public WebGLExtension, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<WebGLCompressedTextureETC1> create(WebGLRenderingContextBase*);
static bool supported(WebGLRenderingContextBase*);
static const char* extensionName();
virtual ~WebGLCompressedTextureETC1();
virtual WebGLExtensionName name() const override;
private:
explicit WebGLCompressedTextureETC1(WebGLRenderingContextBase*);
};
} // namespace blink
#endif // WebGLCompressedTextureETC1_h