Flutter Engine
The Flutter Engine
|
#include <MutableTextureState.h>
Public Member Functions | |
MutableTextureState () | |
~MutableTextureState () override | |
MutableTextureState (const MutableTextureState &that) | |
MutableTextureState & | operator= (const MutableTextureState &that) |
void | set (const MutableTextureState &that) |
BackendApi | backend () const |
bool | isValid () const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Friends | |
class | MutableTextureStateData |
class | MutableTextureStatePriv |
Since Skia and clients can both modify gpu textures and their connected state, Skia needs a way for clients to inform us if they have modifiend any of this state. In order to not need setters for every single API and state, we use this class to be a generic wrapper around all the mutable state. This class is used for calls that inform Skia of these texture/image state changes by the client as well as for requesting state changes to be done by Skia. The backend specific state that is wrapped by this class are located in files like:
Definition at line 30 of file MutableTextureState.h.
skgpu::MutableTextureState::MutableTextureState | ( | ) |
Definition at line 14 of file MutableTextureState.cpp.
|
overridedefault |
skgpu::MutableTextureState::MutableTextureState | ( | const MutableTextureState & | that | ) |
Definition at line 19 of file MutableTextureState.cpp.
|
inline |
Definition at line 41 of file MutableTextureState.h.
|
inline |
Definition at line 44 of file MutableTextureState.h.
MutableTextureState & skgpu::MutableTextureState::operator= | ( | const MutableTextureState & | that | ) |
Definition at line 23 of file MutableTextureState.cpp.
void skgpu::MutableTextureState::set | ( | const MutableTextureState & | that | ) |
Definition at line 30 of file MutableTextureState.cpp.
|
friend |
Definition at line 47 of file MutableTextureState.h.
|
friend |
Definition at line 48 of file MutableTextureState.h.