| 1234567891011121314151617181920212223242526272829303132 |
- // Copyright (C) 2009-2021, Panagiotis Christopoulos Charitos and contributors.
- // All rights reserved.
- // Code licensed under the BSD License.
- // http://www.anki3d.org/LICENSE
- #pragma once
- #include <AnKi/Gr/Fence.h>
- #include <AnKi/Gr/gl/GlObject.h>
- namespace anki {
- /// @addtogroup opengl
- /// @{
- /// Fence implementation.
- class FenceImpl final : public Fence, public GlObject
- {
- public:
- GLsync m_fence = nullptr;
- Atomic<Bool> m_signaled = {false};
- FenceImpl(GrManager* gr, CString name)
- : Fence(gr, name)
- {
- }
- ~FenceImpl();
- };
- /// @}
- } // end namespace anki
|