summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/canvas/WebGLCompressedTextureETC1.h
blob: 4cf3a57ed7446eca7dcaea6904afe8fc49431cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// 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/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
#include "wtf/PassRefPtr.h"

namespace WebCore {

class WebGLTexture;

class WebGLCompressedTextureETC1 FINAL : public WebGLExtension, public ScriptWrappable {
public:
    static PassRefPtr<WebGLCompressedTextureETC1> create(WebGLRenderingContextBase*);
    static bool supported(WebGLRenderingContextBase*);
    static const char* extensionName();

    virtual ~WebGLCompressedTextureETC1();
    virtual WebGLExtensionName name() const OVERRIDE;

private:
    WebGLCompressedTextureETC1(WebGLRenderingContextBase*);
};

} // namespace WebCore

#endif // WebGLCompressedTextureETC1_h