OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BENCH_GL_XLIB_H_ | 5 #ifndef BENCH_GL_XLIB_H_ |
6 #define BENCH_GL_XLIB_H_ | 6 #define BENCH_GL_XLIB_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 extern Display *g_xlib_display; | 10 extern Display *g_xlib_display; |
11 extern Window g_xlib_window; | 11 extern Window g_xlib_window; |
12 extern XVisualInfo *g_xlib_visinfo; | 12 extern XVisualInfo *g_xlib_visinfo; |
13 | 13 |
14 bool XlibInit(); | 14 bool XlibInit(); |
15 VisualID GetVisualID(); | 15 XVisualInfo* GetXVisual(); |
16 | 16 |
17 #endif // BENCH_GL_XLIB_H_ | 17 #endif // BENCH_GL_XLIB_H_ |
OLD | NEW |