summaryrefslogtreecommitdiffstats
path: root/chromium/ui/gl/egl_util.h
blob: d86e863292c1b2bcaa73549f21d2d3061ed096f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 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_GL_EGL_UTIL_H_
#define UI_GL_EGL_UTIL_H_

#include <stdint.h>

#include "ui/gl/gl_export.h"

namespace ui {

GL_EXPORT const char* GetEGLErrorString(uint32_t error);

// Returns the last EGL error as a string.
GL_EXPORT const char* GetLastEGLErrorString();

}  // namespace ui

#endif  // UI_GL_EGL_UTIL_H_