| Index: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQueryWebGL2.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQueryWebGL2.h b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQueryWebGL2.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fcb41cf99eb8aa62d5b7d11674bd389dc7c5e688
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQueryWebGL2.h
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2016 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 EXTDisjointTimerQueryWebGL2_h
|
| +#define EXTDisjointTimerQueryWebGL2_h
|
| +
|
| +#include "bindings/core/v8/ScriptValue.h"
|
| +#include "modules/webgl/WebGLExtension.h"
|
| +#include "modules/webgl/WebGLQuery.h"
|
| +#include "wtf/HashMap.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebGLRenderingContextBase;
|
| +class WebGLQuery;
|
| +
|
| +class EXTDisjointTimerQueryWebGL2 final : public WebGLExtension {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +
|
| + public:
|
| + static EXTDisjointTimerQueryWebGL2* create(WebGLRenderingContextBase*);
|
| + static bool supported(WebGLRenderingContextBase*);
|
| + static const char* extensionName();
|
| +
|
| + ~EXTDisjointTimerQueryWebGL2() override;
|
| + WebGLExtensionName name() const override;
|
| +
|
| + void queryCounterEXT(WebGLQuery*, GLenum);
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| + private:
|
| + explicit EXTDisjointTimerQueryWebGL2(WebGLRenderingContextBase*);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // EXTDisjointTimerQueryWebGL2_h
|
|
|