xref: /aosp_15_r20/external/angle/util/linux/x11/X11Window.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2015 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 // X11Window.h: Definition of the implementation of OSWindow for X11
8 
9 #ifndef UTIL_X11_WINDOW_H
10 #define UTIL_X11_WINDOW_H
11 
12 #include <string>
13 
14 #include "util/OSWindow.h"
15 #include "util/util_export.h"
16 
17 ANGLE_UTIL_EXPORT OSWindow *CreateX11Window();
18 ANGLE_UTIL_EXPORT OSWindow *CreateX11WindowWithVisualId(int visualId);
19 
20 bool IsX11WindowAvailable();
21 
22 #endif  // UTIL_X11_WINDOW_H
23