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