Skia
2D Graphics Library
GrBackendRenderTarget Class Reference

#include <GrBackendSurface.h>

Public Member Functions

 GrBackendRenderTarget ()
 
 GrBackendRenderTarget (int width, int height, int sampleCnt, int stencilBits, const GrMockRenderTargetInfo &mockInfo)
 
 ~GrBackendRenderTarget ()
 
 GrBackendRenderTarget (const GrBackendRenderTarget &that)
 
GrBackendRenderTargetoperator= (const GrBackendRenderTarget &)
 
SkISize dimensions () const
 
int width () const
 
int height () const
 
int sampleCnt () const
 
int stencilBits () const
 
GrBackendApi backend () const
 
bool isFramebufferOnly () const
 
GrBackendFormat getBackendFormat () const
 
bool getMockRenderTargetInfo (GrMockRenderTargetInfo *) const
 
void setMutableState (const skgpu::MutableTextureState &)
 
bool isProtected () const
 
bool isValid () const
 

Friends

class GrBackendSurfacePriv
 
class GrBackendRenderTargetData
 
class GrVkGpu
 

Constructor & Destructor Documentation

◆ GrBackendRenderTarget() [1/3]

GrBackendRenderTarget::GrBackendRenderTarget ( )

◆ GrBackendRenderTarget() [2/3]

GrBackendRenderTarget::GrBackendRenderTarget ( int  width,
int  height,
int  sampleCnt,
int  stencilBits,
const GrMockRenderTargetInfo &  mockInfo 
)

◆ ~GrBackendRenderTarget()

GrBackendRenderTarget::~GrBackendRenderTarget ( )

◆ GrBackendRenderTarget() [3/3]

GrBackendRenderTarget::GrBackendRenderTarget ( const GrBackendRenderTarget that)

Member Function Documentation

◆ backend()

GrBackendApi GrBackendRenderTarget::backend ( ) const
inline

◆ dimensions()

SkISize GrBackendRenderTarget::dimensions ( ) const
inline

◆ getBackendFormat()

GrBackendFormat GrBackendRenderTarget::getBackendFormat ( ) const

◆ getMockRenderTargetInfo()

bool GrBackendRenderTarget::getMockRenderTargetInfo ( GrMockRenderTargetInfo *  ) const

◆ height()

int GrBackendRenderTarget::height ( ) const
inline

◆ isFramebufferOnly()

bool GrBackendRenderTarget::isFramebufferOnly ( ) const
inline

◆ isProtected()

bool GrBackendRenderTarget::isProtected ( ) const

◆ isValid()

bool GrBackendRenderTarget::isValid ( ) const
inline

◆ operator=()

GrBackendRenderTarget& GrBackendRenderTarget::operator= ( const GrBackendRenderTarget )

◆ sampleCnt()

int GrBackendRenderTarget::sampleCnt ( ) const
inline

◆ setMutableState()

void GrBackendRenderTarget::setMutableState ( const skgpu::MutableTextureState )

◆ stencilBits()

int GrBackendRenderTarget::stencilBits ( ) const
inline

◆ width()

int GrBackendRenderTarget::width ( ) const
inline

Friends And Related Function Documentation

◆ GrBackendRenderTargetData

friend class GrBackendRenderTargetData
friend

◆ GrBackendSurfacePriv

friend class GrBackendSurfacePriv
friend

◆ GrVkGpu

friend class GrVkGpu
friend

Member Data Documentation

◆ fMockInfo

GrMockRenderTargetInfo GrBackendRenderTarget::fMockInfo

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