#include <manager.h>
Public Member Functions | |
| virtual | ~Manager () |
| bool | IsValid () const |
| virtual std::unique_ptr< WindowSurface > | CreateWindowSurface (HWND hwnd, size_t width, size_t height) |
| bool | HasContextCurrent () |
| EGLSurface | CreateSurfaceFromHandle (EGLenum handle_type, EGLClientBuffer handle, const EGLint *attributes) const |
| EGLDisplay | egl_display () const |
| bool | GetDevice (ID3D11Device **device) |
| virtual Context * | render_context () const |
| virtual Context * | resource_context () const |
Static Public Member Functions | |
| static std::unique_ptr< Manager > | Create (GpuPreference gpu_preference) |
| static std::optional< LUID > | GetLowPowerGpuLuid () |
Protected Member Functions | |
| Manager (GpuPreference gpu_preference) | |
|
virtual |
Definition at line 44 of file manager.cc.
|
explicitprotected |
Definition at line 26 of file manager.cc.
|
static |
Definition at line 17 of file manager.cc.
References flutter::manager.
| EGLSurface flutter::egl::Manager::CreateSurfaceFromHandle | ( | EGLenum | handle_type, |
| EGLClientBuffer | handle, | ||
| const EGLint * | attributes | ||
| ) | const |
Definition at line 310 of file manager.cc.
|
virtual |
Definition at line 276 of file manager.cc.
References height, flutter::egl::LogEGLError(), surface, and width.
Referenced by flutter::FlutterWindowsView::CreateRenderSurface().
|
inline |
| bool flutter::egl::Manager::GetDevice | ( | ID3D11Device ** | device | ) |
Definition at line 317 of file manager.cc.
References device.
|
static |
Definition at line 336 of file manager.cc.
References FAILED.
Referenced by flutter::testing::TEST_F().
| bool flutter::egl::Manager::HasContextCurrent | ( | ) |
Definition at line 306 of file manager.cc.
| bool flutter::egl::Manager::IsValid | ( | ) | const |
Definition at line 272 of file manager.cc.
|
virtual |
Definition at line 328 of file manager.cc.
|
virtual |
Definition at line 332 of file manager.cc.