Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
egl.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_EGL_H_
6#define FLUTTER_IMPELLER_TOOLKIT_EGL_EGL_H_
7
8#include <EGL/egl.h>
9#define EGL_EGLEXT_PROTOTYPES
10#include <EGL/eglext.h>
11
12#include <functional>
13
14namespace impeller {
15namespace egl {
16
17std::function<void*(const char*)> CreateProcAddressResolver();
18
19#define IMPELLER_LOG_EGL_ERROR LogEGLError(__FILE__, __LINE__);
20
21void LogEGLError(const char* file, int line);
22
23} // namespace egl
24} // namespace impeller
25
26#endif // FLUTTER_IMPELLER_TOOLKIT_EGL_EGL_H_
void LogEGLError(const char *file, int line)
Definition egl.cc:54
std::function< void *(const char *)> CreateProcAddressResolver()
Definition egl.cc:12