OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium 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 UI_GL_EGL_UTIL_H_ | 5 #ifndef UI_GL_EGL_UTIL_H_ |
6 #define UI_GL_EGL_UTIL_H_ | 6 #define UI_GL_EGL_UTIL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "ui/gl/gl_export.h" | 10 #include "ui/gl/gl_export.h" |
10 | 11 |
11 namespace ui { | 12 namespace ui { |
12 | 13 |
13 GL_EXPORT const char* GetEGLErrorString(uint32_t error); | 14 GL_EXPORT const char* GetEGLErrorString(uint32_t error); |
14 | 15 |
15 // Returns the last EGL error as a string. | 16 // Returns the last EGL error as a string. |
16 GL_EXPORT const char* GetLastEGLErrorString(); | 17 GL_EXPORT const char* GetLastEGLErrorString(); |
17 | 18 |
18 } // namespace ui | 19 } // namespace ui |
19 | 20 |
20 #endif // UI_GL_EGL_UTIL_H_ | 21 #endif // UI_GL_EGL_UTIL_H_ |
OLD | NEW |