| Flutter Impeller |

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
14 namespace impeller {
15 namespace egl {
16
17 std::function<void*(const char*)> CreateProcAddressResolver();
18
19 #define IMPELLER_LOG_EGL_ERROR LogEGLError(__FILE__, __LINE__);
20
21 void LogEGLError(const char* file, int line);
22
23 } // namespace egl
24 } // namespace impeller
25
26 #endif // FLUTTER_IMPELLER_TOOLKIT_EGL_EGL_H_
impeller::egl::CreateProcAddressResolver
std::function< void *(const char *)> CreateProcAddressResolver()
Definition: egl.h:17
impeller::egl::LogEGLError
void LogEGLError(const char *file, int line)
Definition: egl.cc:54
impeller
Definition: aiks_blur_unittests.cc:20