Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::KeyContextWithScope Class Reference

#include <KeyContext.h>

Inheritance diagram for skgpu::graphite::KeyContextWithScope:
skgpu::graphite::KeyContext

Public Member Functions

 KeyContextWithScope (const KeyContext &other, KeyContext::Scope scope)
 
- 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 143 of file KeyContext.h.

Constructor & Destructor Documentation

◆ KeyContextWithScope()

skgpu::graphite::KeyContextWithScope::KeyContextWithScope ( const KeyContext other,
KeyContext::Scope  scope 
)
inline

Definition at line 145 of file KeyContext.h.

145 : KeyContext(other) {
146 fScope = scope;
147 // We skip optimized sampling for runtime effects because these might have arbitrary
148 // coordinate sampling.
151 }
152 }
KeyContext(const Caps *caps, ShaderCodeDictionary *dict, RuntimeEffectDictionary *rtEffectDict, const SkColorInfo &dstColorInfo, sk_sp< TextureProxy > dstTexture, SkIPoint dstOffset)
Definition: KeyContext.h:33
OptimizeSampling fOptimizeSampling
Definition: KeyContext.h:96

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