Flutter Engine
The Flutter Engine
Public Member Functions | Protected Member Functions | List of all members
skwindow::internal::RasterWindowContext Class Reference

#include <RasterWindowContext.h>

Inheritance diagram for skwindow::internal::RasterWindowContext:
skwindow::WindowContext

Public Member Functions

 RasterWindowContext (const DisplayParams &params)
 
- Public Member Functions inherited from skwindow::WindowContext
 WindowContext (const DisplayParams &)
 
virtual ~WindowContext ()
 
virtual sk_sp< SkSurfacegetBackbufferSurface ()=0
 
void swapBuffers ()
 
virtual bool isValid ()=0
 
virtual void resize (int w, int h)=0
 
virtual void activate (bool isActive)
 
const DisplayParamsgetDisplayParams ()
 
virtual void setDisplayParams (const DisplayParams &params)=0
 
GrDirectContextdirectContext () const
 
int width () const
 
int height () const
 
SkISize dimensions () const
 
int sampleCount () const
 
int stencilBits () const
 

Protected Member Functions

bool isGpuContext () override
 
- Protected Member Functions inherited from skwindow::WindowContext
virtual bool isGpuContext ()
 
virtual void onSwapBuffers ()=0
 

Additional Inherited Members

- Protected Attributes inherited from skwindow::WindowContext
sk_sp< GrDirectContextfContext
 
int fWidth
 
int fHeight
 
DisplayParams fDisplayParams
 
int fSampleCount = 1
 
int fStencilBits = 0
 

Detailed Description

Definition at line 15 of file RasterWindowContext.h.

Constructor & Destructor Documentation

◆ RasterWindowContext()

skwindow::internal::RasterWindowContext::RasterWindowContext ( const DisplayParams params)
inline

Definition at line 17 of file RasterWindowContext.h.

WindowContext(const DisplayParams &)
const EmbeddedViewParams * params

Member Function Documentation

◆ isGpuContext()

bool skwindow::internal::RasterWindowContext::isGpuContext ( )
inlineoverrideprotectedvirtual

Reimplemented from skwindow::WindowContext.

Definition at line 20 of file RasterWindowContext.h.

20{ return false; }

The documentation for this class was generated from the following file: