blob: 7612adfade10293fa91f8c132590b454839f6080 [file] [log] [blame]
// 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 THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_FENCE_SYNC_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_FENCE_SYNC_H_
#include "third_party/blink/renderer/modules/webgl/webgl_sync.h"
namespace blink {
class WebGL2RenderingContextBase;
class WebGLFenceSync : public WebGLSync {
public:
static WebGLSync* Create(WebGL2RenderingContextBase*,
GLenum condition,
GLbitfield flags);
WebGLFenceSync(WebGL2RenderingContextBase*,
GLenum condition,
GLbitfield flags);
private:
GLuint insertQuery(WebGL2RenderingContextBase*);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_FENCE_SYNC_H_