Skia
2D Graphics Library
SkSurfaceCharacterization Class Reference

#include <SkSurfaceCharacterization.h>

Public Member Functions

 SkSurfaceCharacterization ()
 
SkSurfaceCharacterization createResized (int width, int height) const
 
SkSurfaceCharacterization createColorSpace (sk_sp< SkColorSpace >) const
 
SkSurfaceCharacterization createBackendFormat (SkColorType, const GrBackendFormat &) const
 
SkSurfaceCharacterization createFBO0 (bool usesGLFBO0) const
 
bool operator== (const SkSurfaceCharacterization &other) const
 
bool operator!= (const SkSurfaceCharacterization &other) const
 
size_t cacheMaxResourceBytes () const
 
bool isValid () const
 
int width () const
 
int height () const
 
int stencilCount () const
 
bool isTextureable () const
 
bool isMipMapped () const
 
bool usesGLFBO0 () const
 
bool vulkanSecondaryCBCompatible () const
 
SkColorSpacecolorSpace () const
 
sk_sp< SkColorSpacerefColorSpace () const
 
const SkSurfacePropssurfaceProps () const
 

Constructor & Destructor Documentation

◆ SkSurfaceCharacterization()

SkSurfaceCharacterization::SkSurfaceCharacterization ( )
inline

Member Function Documentation

◆ cacheMaxResourceBytes()

size_t SkSurfaceCharacterization::cacheMaxResourceBytes ( ) const
inline

◆ colorSpace()

SkColorSpace* SkSurfaceCharacterization::colorSpace ( ) const
inline

◆ createBackendFormat()

SkSurfaceCharacterization SkSurfaceCharacterization::createBackendFormat ( SkColorType  ,
const GrBackendFormat  
) const
inline

◆ createColorSpace()

SkSurfaceCharacterization SkSurfaceCharacterization::createColorSpace ( sk_sp< SkColorSpace ) const
inline

◆ createFBO0()

SkSurfaceCharacterization SkSurfaceCharacterization::createFBO0 ( bool  usesGLFBO0) const
inline

◆ createResized()

SkSurfaceCharacterization SkSurfaceCharacterization::createResized ( int  width,
int  height 
) const
inline

◆ height()

int SkSurfaceCharacterization::height ( ) const
inline

◆ isMipMapped()

bool SkSurfaceCharacterization::isMipMapped ( ) const
inline

◆ isTextureable()

bool SkSurfaceCharacterization::isTextureable ( ) const
inline

◆ isValid()

bool SkSurfaceCharacterization::isValid ( ) const
inline

◆ operator!=()

bool SkSurfaceCharacterization::operator!= ( const SkSurfaceCharacterization other) const
inline

◆ operator==()

bool SkSurfaceCharacterization::operator== ( const SkSurfaceCharacterization other) const
inline

◆ refColorSpace()

sk_sp<SkColorSpace> SkSurfaceCharacterization::refColorSpace ( ) const
inline

◆ stencilCount()

int SkSurfaceCharacterization::stencilCount ( ) const
inline

◆ surfaceProps()

const SkSurfaceProps& SkSurfaceCharacterization::surfaceProps ( ) const
inline

◆ usesGLFBO0()

bool SkSurfaceCharacterization::usesGLFBO0 ( ) const
inline

◆ vulkanSecondaryCBCompatible()

bool SkSurfaceCharacterization::vulkanSecondaryCBCompatible ( ) const
inline

◆ width()

int SkSurfaceCharacterization::width ( ) const
inline

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