| 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 "ui/ozone/public/surface_factory_ozone.h" | 8 #include "ui/ozone/public/surface_factory_ozone.h" |
| 9 | 9 |
| 10 namespace ui { | 10 namespace ui { |
| 11 | 11 |
| 12 bool LoadDefaultEGLGLES2Bindings( | 12 bool LoadDefaultEGLGLES2Bindings( |
| 13 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library, | 13 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library, |
| 14 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback | 14 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback |
| 15 set_gl_get_proc_address); | 15 set_gl_get_proc_address); |
| 16 | 16 |
| 17 bool LoadEGLGLES2Bindings( | 17 bool LoadEGLGLES2Bindings( |
| 18 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library, | 18 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library, |
| 19 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback | 19 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback |
| 20 set_gl_get_proc_address, | 20 set_gl_get_proc_address, |
| 21 const char* egl_library_name, | 21 const char* egl_library_name, |
| 22 const char* gles_library_name); | 22 const char* gles_library_name); |
| 23 | 23 |
| 24 void* /* EGLConfig */ ChooseEGLConfig( |
| 25 const SurfaceFactoryOzone::EglConfigInfo& egl, |
| 26 const int32* attributes); |
| 27 |
| 24 } // namespace ui | 28 } // namespace ui |
| 25 | 29 |
| 26 #endif // UI_OZONE_COMMON_EGL_UTIL_H_ | 30 #endif // UI_OZONE_COMMON_EGL_UTIL_H_ |
| OLD | NEW |