diff options
Diffstat (limited to 'gfx/angle/src/libANGLE/renderer/FenceNVImpl.h')
-rwxr-xr-x | gfx/angle/src/libANGLE/renderer/FenceNVImpl.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gfx/angle/src/libANGLE/renderer/FenceNVImpl.h b/gfx/angle/src/libANGLE/renderer/FenceNVImpl.h new file mode 100755 index 000000000..a53491497 --- /dev/null +++ b/gfx/angle/src/libANGLE/renderer/FenceNVImpl.h @@ -0,0 +1,34 @@ +// +// Copyright (c) 2015 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// FenceNVImpl.h: Defines the rx::FenceNVImpl class. + +#ifndef LIBANGLE_RENDERER_FENCENVIMPL_H_ +#define LIBANGLE_RENDERER_FENCENVIMPL_H_ + +#include "libANGLE/Error.h" + +#include "common/angleutils.h" + +#include "angle_gl.h" + +namespace rx +{ + +class FenceNVImpl : angle::NonCopyable +{ + public: + FenceNVImpl() { }; + virtual ~FenceNVImpl() { }; + + virtual gl::Error set(GLenum condition) = 0; + virtual gl::Error test(GLboolean *outFinished) = 0; + virtual gl::Error finish() = 0; +}; + +} + +#endif // LIBANGLE_RENDERER_FENCENVIMPL_H_ |