| Index: Source/core/html/canvas/WebGLSync.h
|
| diff --git a/Source/core/html/canvas/WebGLSync.h b/Source/core/html/canvas/WebGLSync.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2fc853f4cb55543685030d1d6a2cf7ec853ea66e
|
| --- /dev/null
|
| +++ b/Source/core/html/canvas/WebGLSync.h
|
| @@ -0,0 +1,34 @@
|
| +// 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 WebGLSync_h
|
| +#define WebGLSync_h
|
| +
|
| +#include "core/html/canvas/WebGLSharedObject.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebGL2RenderingContextBase;
|
| +
|
| +class WebGLSync : public WebGLSharedObject {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + ~WebGLSync() override;
|
| +
|
| +protected:
|
| + WebGLSync(WebGL2RenderingContextBase*, GLenum objectType);
|
| +
|
| + void deleteObjectImpl(blink::WebGraphicsContext3D*, Platform3DObject) override;
|
| +
|
| + GLenum objectType() const { return m_objectType; }
|
| +
|
| +private:
|
| + bool isSync() const override { return true; }
|
| +
|
| + GLenum m_objectType;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebGLSync_h
|
|
|