Flutter Engine
The Flutter Engine
|
#include <gl_context_switch.h>
Public Member Functions | |
GLContextDefaultResult (bool static_result) | |
~GLContextDefaultResult () override | |
FML_DISALLOW_COPY_AND_ASSIGN (GLContextDefaultResult) | |
Public Member Functions inherited from flutter::GLContextResult | |
GLContextResult () | |
virtual | ~GLContextResult () |
bool | GetResult () |
Additional Inherited Members | |
Protected Member Functions inherited from flutter::GLContextResult | |
GLContextResult (bool static_result) | |
FML_DISALLOW_COPY_AND_ASSIGN (GLContextResult) | |
Protected Attributes inherited from flutter::GLContextResult | |
bool | result_ |
The default implementation of |GLContextResult|.
Use this class on platforms that doesn't require gl context switching.
Definition at line 71 of file gl_context_switch.h.
|
explicit |
Constructs a |GLContextDefaultResult| with a static result.
Used this on platforms that doesn't require gl context switching. (For example, metal on iOS)
static_result | a static value that will be returned from |GetResult| |
Definition at line 23 of file gl_context_switch.cc.
|
overridedefault |
flutter::GLContextDefaultResult::FML_DISALLOW_COPY_AND_ASSIGN | ( | GLContextDefaultResult | ) |