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_SHELL_PLATFORM_WINDOWS_EGL_EGL_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_EGL_H_
7
8#include <string_view>
9
10namespace flutter {
11namespace egl {
12
13/// Log the last EGL error with an error message.
14void LogEGLError(std::string_view message);
15
16/// Log the last EGL error.
17void LogEGLError(std::string_view file, int line);
18
19#define WINDOWS_LOG_EGL_ERROR LogEGLError(__FILE__, __LINE__);
20
21} // namespace egl
22} // namespace flutter
23
24#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_EGL_H_
G_BEGIN_DECLS GBytes * message
void LogEGLError(const char *file, int line)
Definition egl.cc:54