Flutter Engine
The Flutter Engine
Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Friends | List of all members
GrBackendTextureData Class Referenceabstract

#include <GrBackendSurfacePriv.h>

Inheritance diagram for GrBackendTextureData:
GrGLBackendTextureData GrMtlBackendTextureData GrVkBackendTextureData

Public Member Functions

virtual ~GrBackendTextureData ()
 

Protected Types

using AnyTextureData = GrBackendTexture::AnyTextureData
 

Protected Member Functions

 GrBackendTextureData ()=default
 
 GrBackendTextureData (const GrBackendTextureData &)=default
 

Private Member Functions

virtual bool isProtected () const =0
 
virtual bool equal (const GrBackendTextureData *that) const =0
 
virtual bool isSameTexture (const GrBackendTextureData *) const =0
 
virtual GrBackendFormat getBackendFormat () const =0
 
virtual void copyTo (AnyTextureData &) const =0
 
virtual sk_sp< skgpu::MutableTextureStategetMutableState () const
 
virtual void setMutableState (const skgpu::MutableTextureState &)
 

Friends

class GrBackendTexture
 

Detailed Description

Definition at line 57 of file GrBackendSurfacePriv.h.

Member Typedef Documentation

◆ AnyTextureData

Definition at line 67 of file GrBackendSurfacePriv.h.

Constructor & Destructor Documentation

◆ ~GrBackendTextureData()

GrBackendTextureData::~GrBackendTextureData ( )
virtual

Definition at line 698 of file GrBackendSurface.cpp.

698{}

◆ GrBackendTextureData() [1/2]

GrBackendTextureData::GrBackendTextureData ( )
protecteddefault

◆ GrBackendTextureData() [2/2]

GrBackendTextureData::GrBackendTextureData ( const GrBackendTextureData )
protecteddefault

Member Function Documentation

◆ copyTo()

virtual void GrBackendTextureData::copyTo ( AnyTextureData ) const
privatepure virtual

◆ equal()

virtual bool GrBackendTextureData::equal ( const GrBackendTextureData that) const
privatepure virtual

◆ getBackendFormat()

virtual GrBackendFormat GrBackendTextureData::getBackendFormat ( ) const
privatepure virtual

◆ getMutableState()

virtual sk_sp< skgpu::MutableTextureState > GrBackendTextureData::getMutableState ( ) const
inlineprivatevirtual

Reimplemented in GrVkBackendTextureData.

Definition at line 78 of file GrBackendSurfacePriv.h.

78{ return nullptr; }

◆ isProtected()

virtual bool GrBackendTextureData::isProtected ( ) const
privatepure virtual

◆ isSameTexture()

virtual bool GrBackendTextureData::isSameTexture ( const GrBackendTextureData ) const
privatepure virtual

◆ setMutableState()

virtual void GrBackendTextureData::setMutableState ( const skgpu::MutableTextureState )
inlineprivatevirtual

Reimplemented in GrVkBackendTextureData.

Definition at line 79 of file GrBackendSurfacePriv.h.

79{}

Friends And Related Function Documentation

◆ GrBackendTexture

friend class GrBackendTexture
friend

Definition at line 70 of file GrBackendSurfacePriv.h.


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