1 // 2 // Copyright 2016 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // SyncNULL.h: 7 // Defines the class interface for SyncNULL, implementing SyncImpl. 8 // 9 10 #ifndef LIBANGLE_RENDERER_NULL_FENCESYNCNULL_H_ 11 #define LIBANGLE_RENDERER_NULL_FENCESYNCNULL_H_ 12 13 #include "libANGLE/renderer/SyncImpl.h" 14 15 namespace rx 16 { 17 class SyncNULL : public SyncImpl 18 { 19 public: 20 SyncNULL(); 21 ~SyncNULL() override; 22 23 angle::Result set(const gl::Context *context, GLenum condition, GLbitfield flags) override; 24 angle::Result clientWait(const gl::Context *context, 25 GLbitfield flags, 26 GLuint64 timeout, 27 GLenum *outResult) override; 28 angle::Result serverWait(const gl::Context *context, 29 GLbitfield flags, 30 GLuint64 timeout) override; 31 angle::Result getStatus(const gl::Context *context, GLint *outResult) override; 32 }; 33 } // namespace rx 34 35 #endif // LIBANGLE_RENDERER_NULL_FENCESYNCNULL_H_ 36