Flutter Windows Embedder
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 
10 namespace flutter {
11 namespace egl {
12 
13 /// Log the last EGL error with an error message.
14 void LogEGLError(std::string_view message);
15 
16 /// Log the last EGL error.
17 void 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_
flutter
Definition: accessibility_bridge_windows.cc:11
flutter::egl::LogEGLError
void LogEGLError(std::string_view message)
Log the last EGL error with an error message.
Definition: egl.cc:55
message
Win32Message message
Definition: keyboard_unittests.cc:137