| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_OZONE_COMMON_EGL_UTIL_H_ | 5 #ifndef UI_OZONE_COMMON_EGL_UTIL_H_ |
| 6 #define UI_OZONE_COMMON_EGL_UTIL_H_ | 6 #define UI_OZONE_COMMON_EGL_UTIL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ui/gl/gl_implementation.h" |
| 11 |
| 10 namespace ui { | 12 namespace ui { |
| 11 | 13 |
| 12 bool LoadDefaultEGLGLES2Bindings(); | 14 bool LoadDefaultEGLGLES2Bindings(gl::GLImplementation impl); |
| 13 | |
| 14 bool LoadEGLGLES2Bindings( | |
| 15 const char* egl_library_name, | |
| 16 const char* gles_library_name); | |
| 17 | 15 |
| 18 void* /* EGLConfig */ ChooseEGLConfig(void* /* EGLConfig */ display, | 16 void* /* EGLConfig */ ChooseEGLConfig(void* /* EGLConfig */ display, |
| 19 const int32_t* attributes); | 17 const int32_t* attributes); |
| 20 | 18 |
| 21 } // namespace ui | 19 } // namespace ui |
| 22 | 20 |
| 23 #endif // UI_OZONE_COMMON_EGL_UTIL_H_ | 21 #endif // UI_OZONE_COMMON_EGL_UTIL_H_ |
| OLD | NEW |