Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: ui/ozone/common/egl_util.h

Issue 2190353003: Delete old Ozone surface creation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | ui/ozone/common/egl_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ui/ozone/public/surface_ozone_egl.h"
10 9
11 namespace ui { 10 namespace ui {
12 11
13 bool LoadDefaultEGLGLES2Bindings( 12 bool LoadDefaultEGLGLES2Bindings(
14 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library, 13 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library,
15 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback 14 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback
16 set_gl_get_proc_address); 15 set_gl_get_proc_address);
17 16
18 bool LoadEGLGLES2Bindings( 17 bool LoadEGLGLES2Bindings(
19 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library, 18 SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library,
20 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback 19 SurfaceFactoryOzone::SetGLGetProcAddressProcCallback
21 set_gl_get_proc_address, 20 set_gl_get_proc_address,
22 const char* egl_library_name, 21 const char* egl_library_name,
23 const char* gles_library_name); 22 const char* gles_library_name);
24 23
25 void* /* EGLConfig */ ChooseEGLConfig(void* /* EGLConfig */ display, 24 void* /* EGLConfig */ ChooseEGLConfig(void* /* EGLConfig */ display,
26 const int32_t* attributes); 25 const int32_t* attributes);
27 26
28 // TODO(kylechar): This is deprecated, delete when all callers are gone.
29 void* /* EGLConfig */ ChooseEGLConfig(const EglConfigCallbacks& egl,
30 const int32_t* attributes);
31
32 } // namespace ui 27 } // namespace ui
33 28
34 #endif // UI_OZONE_COMMON_EGL_UTIL_H_ 29 #endif // UI_OZONE_COMMON_EGL_UTIL_H_
OLDNEW
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | ui/ozone/common/egl_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698