summaryrefslogtreecommitdiff
path: root/Source/core/html/canvas/EXTShaderTextureLOD.h
blob: 342d94d09659257ce7cfb3b0da5d65ef34282989 (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
// 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 EXTShaderTextureLOD_h
#define EXTShaderTextureLOD_h

#include "bindings/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
#include "wtf/PassRefPtr.h"

namespace WebCore {

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

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

private:
    EXTShaderTextureLOD(WebGLRenderingContextBase*);
};

} // namespace WebCore

#endif // EXTShaderTextureLOD_h