sk_sp< GrDirectContext > fContext
DisplayParams fDisplayParams
virtual sk_sp< SkSurface > getBackbufferSurface()=0
virtual void setDisplayParams(const DisplayParams ¶ms)=0
const DisplayParams & getDisplayParams()
WindowContext(const DisplayParams &)
SkISize dimensions() const
virtual bool isGpuContext()
GrDirectContext * directContext() const
virtual void resize(int w, int h)=0
virtual void onSwapBuffers()=0
virtual void activate(bool isActive)