| Index: Source/core/html/canvas/WebGLQuery.h
|
| diff --git a/Source/core/html/canvas/WebGLQuery.h b/Source/core/html/canvas/WebGLQuery.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ea37719cc01611ffcd30f98e10979d12a6f326dd
|
| --- /dev/null
|
| +++ b/Source/core/html/canvas/WebGLQuery.h
|
| @@ -0,0 +1,33 @@
|
| +// 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 WebGLQuery_h
|
| +#define WebGLQuery_h
|
| +
|
| +#include "core/html/canvas/WebGLSharedObject.h"
|
| +#include "wtf/PassRefPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebGL2RenderingContextBase;
|
| +
|
| +class WebGLQuery : public WebGLSharedObject {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + virtual ~WebGLQuery();
|
| +
|
| + static PassRefPtrWillBeRawPtr<WebGLQuery> create(WebGL2RenderingContextBase*);
|
| +
|
| +protected:
|
| + WebGLQuery(WebGL2RenderingContextBase*);
|
| +
|
| + virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, Platform3DObject);
|
| +
|
| +private:
|
| + virtual bool isQuery() const { return true; }
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebGLQuery_h
|
|
|