Flutter Engine
The Flutter Engine
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, OptimizeSampling optimizeSampling, 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
 
OptimizeSampling optimizeSampling () const
 

Additional Inherited Members

- Public Types inherited from skgpu::graphite::KeyContext
enum class  OptimizeSampling : bool { kNo = false , kYes = true }
 
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
 
OptimizeSampling fOptimizeSampling = OptimizeSampling::kNo
 

Detailed Description

Definition at line 104 of file KeyContext.h.

Constructor & Destructor Documentation

◆ KeyContextWithLocalMatrix()

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

Definition at line 106 of file KeyContext.h.

107 : KeyContext(other) {
108 if (fLocalMatrix) {
109 fStorage = SkMatrix::Concat(childLM, *fLocalMatrix);
110 } else {
111 fStorage = childLM;
112 }
113
114 fLocalMatrix = &fStorage;
115 }
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:33

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