| Index: ui/ozone/common/egl_util.h
|
| diff --git a/ui/ozone/common/egl_util.h b/ui/ozone/common/egl_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5cdfa4286106fc051fa7c0527488f212d328dfe8
|
| --- /dev/null
|
| +++ b/ui/ozone/common/egl_util.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_OZONE_COMMON_EGL_UTIL_H_
|
| +#define UI_OZONE_COMMON_EGL_UTIL_H_
|
| +
|
| +#include "ui/ozone/public/surface_factory_ozone.h"
|
| +
|
| +namespace ui {
|
| +
|
| +bool LoadDefaultEGLGLES2Bindings(
|
| + SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library,
|
| + SurfaceFactoryOzone::SetGLGetProcAddressProcCallback
|
| + set_gl_get_proc_address);
|
| +
|
| +bool LoadEGLGLES2Bindings(
|
| + SurfaceFactoryOzone::AddGLLibraryCallback add_gl_library,
|
| + SurfaceFactoryOzone::SetGLGetProcAddressProcCallback
|
| + set_gl_get_proc_address,
|
| + const char* egl_library_name,
|
| + const char* gles_library_name);
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // UI_OZONE_COMMON_EGL_UTIL_H_
|
|
|