xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/gl/glx/glx_utils.h (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 // glx_utils.h: Utility routines specific to the G:X->EGL implementation.
8 
9 #ifndef LIBANGLE_RENDERER_GL_GLX_GLXUTILS_H_
10 #define LIBANGLE_RENDERER_GL_GLX_GLXUTILS_H_
11 
12 #include <string>
13 
14 #include "common/platform.h"
15 #include "libANGLE/renderer/gl/glx/FunctionsGLX.h"
16 
17 namespace rx
18 {
19 
20 namespace x11
21 {
22 
23 std::string XErrorToString(Display *display, int status);
24 
25 }  // namespace x11
26 
27 }  // namespace rx
28 
29 #endif  // LIBANGLE_RENDERER_GL_GLX_GLXUTILS_H_
30