Flutter Engine
The Flutter Engine
|
#include <GLWindowContext.h>
Public Member Functions | |
sk_sp< SkSurface > | getBackbufferSurface () override |
bool | isValid () override |
void | resize (int w, int h) override |
void | setDisplayParams (const DisplayParams ¶ms) override |
Public Member Functions inherited from skwindow::WindowContext | |
WindowContext (const DisplayParams &) | |
virtual | ~WindowContext () |
virtual sk_sp< SkSurface > | getBackbufferSurface ()=0 |
void | swapBuffers () |
virtual bool | isValid ()=0 |
virtual void | resize (int w, int h)=0 |
virtual void | activate (bool isActive) |
const DisplayParams & | getDisplayParams () |
virtual void | setDisplayParams (const DisplayParams ¶ms)=0 |
GrDirectContext * | directContext () const |
int | width () const |
int | height () const |
SkISize | dimensions () const |
int | sampleCount () const |
int | stencilBits () const |
Protected Member Functions | |
GLWindowContext (const DisplayParams &) | |
void | initializeContext () |
virtual sk_sp< const GrGLInterface > | onInitializeContext ()=0 |
void | destroyContext () |
virtual void | onDestroyContext ()=0 |
Protected Member Functions inherited from skwindow::WindowContext | |
virtual bool | isGpuContext () |
virtual void | onSwapBuffers ()=0 |
Protected Attributes | |
sk_sp< const GrGLInterface > | fBackendContext |
sk_sp< SkSurface > | fSurface |
Protected Attributes inherited from skwindow::WindowContext | |
sk_sp< GrDirectContext > | fContext |
int | fWidth |
int | fHeight |
DisplayParams | fDisplayParams |
int | fSampleCount = 1 |
int | fStencilBits = 0 |
Definition at line 20 of file GLWindowContext.h.
|
protected |
Definition at line 25 of file GLWindowContext.cpp.
|
protected |
Definition at line 45 of file GLWindowContext.cpp.
Implements skwindow::WindowContext.
Definition at line 59 of file GLWindowContext.cpp.
|
protected |
Definition at line 32 of file GLWindowContext.cpp.
|
inlineoverridevirtual |
|
protectedpure virtual |
Implemented in skwindow::internal::ANGLEWindowContext.
|
protectedpure virtual |
Implemented in skwindow::internal::ANGLEWindowContext.
Implements skwindow::WindowContext.
Definition at line 88 of file GLWindowContext.cpp.
|
overridevirtual |
Implements skwindow::WindowContext.
Definition at line 93 of file GLWindowContext.cpp.
|
protected |
Definition at line 43 of file GLWindowContext.h.
Definition at line 44 of file GLWindowContext.h.