| Flutter Windows Embedder |

Classes | Functions
flutter::egl Namespace Reference

## Classes
class | Context
class | Manager
class | ProcTable
class | Surface
class | WindowSurface

## Functions
void | LogEGLError (std::string_view message)
| Log the last EGL error with an error message. More...
void | LogEGLError (std::string_view file, int line)
| Log the last EGL error. More...

## Function Documentation

## ◆ LogEGLError() [1/2]

void flutter::egl::LogEGLError | ( | std::string_view | file,
|  | int | line
| ) |  |

Log the last EGL error.

Definition at line 61 of file egl.cc.

61 {
62 std::stringstream stream;
63 stream << "in " << file << ":" << line;
64 LogEGLError(stream.str());
65 }
flutter::egl::LogEGLError
void LogEGLError(std::string_view file, int line)
Log the last EGL error.
Definition: egl.cc:61

References LogEGLError().

## ◆ LogEGLError() [2/2]

void flutter::egl::LogEGLError | ( | std::string_view | message | ) |

Log the last EGL error with an error message.

Definition at line 55 of file egl.cc.

55 {
56 const EGLint error = ::eglGetError();
57 return FML_LOG(ERROR) << "EGL Error: " << EGLErrorToString(error) << " ("
58 << error << ") " << message;
59 }
message
Win32Message message
Definition: keyboard_unittests.cc:137

References message.

Referenced by flutter::egl::Manager::CreateWindowSurface(), and LogEGLError().