Flutter Engine
The Flutter Engine
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}
void LogEGLError(std::string_view file, int line)
Log the last EGL error.
Definition: egl.cc:61

◆ 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
static const char * EGLErrorToString(EGLint error)
Definition: egl.cc:18
#define ERROR(message)
Definition: elf_loader.cc:260