summaryrefslogtreecommitdiff
path: root/chromium/ui/ozone/common/egl_util.h
blob: 855e7659671c6ab9334d5e8557ad439b5cde42b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 <stdint.h>

namespace ui {

bool LoadDefaultEGLGLES2Bindings();

bool LoadEGLGLES2Bindings(
    const char* egl_library_name,
    const char* gles_library_name);

void* /* EGLConfig */ ChooseEGLConfig(void* /* EGLConfig */ display,
                                      const int32_t* attributes);

}  // namespace ui

#endif  // UI_OZONE_COMMON_EGL_UTIL_H_