| 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 #pragma once
6
7 #include <EGL/egl.h>
8 #define EGL_EGLEXT_PROTOTYPES
9 #include <EGL/eglext.h>
10
11 #include <functional>
12
13 namespace impeller {
14 namespace egl {
15
16 std::function<void*(const char*)> CreateProcAddressResolver();
17
18 #define IMPELLER_LOG_EGL_ERROR LogEGLError(__FILE__, __LINE__);
19
20 void LogEGLError(const char* file, int line);
21
22 } // namespace egl
23 } // namespace impeller
impeller::egl::CreateProcAddressResolver
std::function< void *(const char *)> CreateProcAddressResolver()
Definition: egl.h:16
impeller::egl::LogEGLError
void LogEGLError(const char *file, int line)
Definition: egl.cc:54
impeller
Definition: aiks_context.cc:10