Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 
void LogEGLError (std::string_view file, int line)
 Log the last EGL error.
 

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}

◆ 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}
const uint8_t uint32_t uint32_t GError ** error
#define FML_LOG(severity)
Definition logging.h:82
Win32Message message
#define ERROR(message)