19 #ifndef MIR_GRAPHICS_EGL_SYNC_FENCE_H_ 20 #define MIR_GRAPHICS_EGL_SYNC_FENCE_H_ 33 void raise()
override;
34 void reset()
override;
35 bool wait_for(std::chrono::nanoseconds ns)
override;
44 void raise()
override;
45 void reset()
override;
46 bool wait_for(std::chrono::nanoseconds ns)
override;
48 void reset(std::unique_lock<std::mutex>
const&);
49 bool wait_for(std::unique_lock<std::mutex>
const&, std::chrono::nanoseconds ns);
51 std::shared_ptr<EGLSyncExtensions>
const egl;
52 std::chrono::nanoseconds
const default_timeout{
53 std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::milliseconds(1))};
56 EGLDisplay fence_display;
57 EGLSyncKHR sync_point;
All things Mir.
Definition: atomic_callback.h:25
Definition: egl_sync_fence.h:31
Definition: egl_sync_fence.h:38
Definition: command_stream_sync.h:28