Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
skgpu::graphite::KeyContextWithLocalMatrix Class Reference

#include <KeyContext.h>

Inheritance diagram for skgpu::graphite::KeyContextWithLocalMatrix:
skgpu::graphite::KeyContext

Public Member Functions

 KeyContextWithLocalMatrix (const KeyContext &other, const SkMatrix &childLM)
 
- Public Member Functions inherited from skgpu::graphite::KeyContext
 KeyContext (const Caps *caps, ShaderCodeDictionary *dict, RuntimeEffectDictionary *rtEffectDict, const SkColorInfo &dstColorInfo, sk_sp< TextureProxy > dstTexture, SkIPoint dstOffset)
 
 KeyContext (Recorder *, const SkM44 &local2Dev, const SkColorInfo &dstColorInfo, const SkColor4f &paintColor, sk_sp< TextureProxy > dstTexture, SkIPoint dstOffset)
 
 KeyContext (const KeyContext &)
 
Recorderrecorder () const
 
const Capscaps () const
 
const SkM44local2Dev () const
 
const SkMatrixlocalMatrix () const
 
ShaderCodeDictionarydict () const
 
RuntimeEffectDictionaryrtEffectDict () const
 
const SkColorInfodstColorInfo () const
 
sk_sp< TextureProxydstTexture () const
 
SkIPoint dstOffset () const
 
const SkPMColor4fpaintColor () const
 
Scope scope () const
 

Additional Inherited Members

- Public Types inherited from skgpu::graphite::KeyContext
enum class  Scope { kDefault , kRuntimeEffect }
 
- Protected Attributes inherited from skgpu::graphite::KeyContext
RecorderfRecorder = nullptr
 
SkM44 fLocal2Dev
 
SkMatrixfLocalMatrix = nullptr
 
ShaderCodeDictionaryfDictionary
 
RuntimeEffectDictionaryfRTEffectDict
 
SkColorInfo fDstColorInfo
 
SkPMColor4f fPaintColor = SK_PMColor4fBLACK
 
Scope fScope = Scope::kDefault
 

Detailed Description

Definition at line 100 of file KeyContext.h.

Constructor & Destructor Documentation

◆ KeyContextWithLocalMatrix()

skgpu::graphite::KeyContextWithLocalMatrix::KeyContextWithLocalMatrix ( const KeyContext other,
const SkMatrix childLM 
)
inline

Definition at line 102 of file KeyContext.h.

103 : KeyContext(other) {
104 if (fLocalMatrix) {
105 fStorage = SkMatrix::Concat(childLM, *fLocalMatrix);
106 } else {
107 fStorage = childLM;
108 }
109
110 fLocalMatrix = &fStorage;
111 }
static SkMatrix Concat(const SkMatrix &a, const SkMatrix &b)
Definition SkMatrix.h:1775
KeyContext(const Caps *caps, ShaderCodeDictionary *dict, RuntimeEffectDictionary *rtEffectDict, const SkColorInfo &dstColorInfo, sk_sp< TextureProxy > dstTexture, SkIPoint dstOffset)
Definition KeyContext.h:32

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