xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/EGLSyncImpl.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2020 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 
7 // EGLSyncImpl.cpp: Implements the rx::EGLSyncImpl class.
8 
9 #include "libANGLE/renderer/EGLReusableSync.h"
10 
11 #include "angle_gl.h"
12 
13 #include "common/utilities.h"
14 
15 namespace rx
16 {
17 
signal(const egl::Display * display,const gl::Context * context,EGLint mode)18 egl::Error EGLSyncImpl::signal(const egl::Display *display, const gl::Context *context, EGLint mode)
19 {
20     UNREACHABLE();
21     return egl::EglBadMatch();
22 }
23 
copyMetalSharedEventANGLE(const egl::Display * display,void ** eventOut) const24 egl::Error EGLSyncImpl::copyMetalSharedEventANGLE(const egl::Display *display,
25                                                   void **eventOut) const
26 {
27     UNREACHABLE();
28     return egl::EglBadMatch();
29 }
30 
dupNativeFenceFD(const egl::Display * display,EGLint * fdOut) const31 egl::Error EGLSyncImpl::dupNativeFenceFD(const egl::Display *display, EGLint *fdOut) const
32 {
33     UNREACHABLE();
34     return egl::EglBadMatch();
35 }
36 
37 }  // namespace rx
38