summaryrefslogtreecommitdiff
path: root/chromium/ui/gl/egl_util.h
blob: e33df090c27a71d493a9443cb23993bda934dc17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2012 The Chromium Authors
// 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_