/external/skqp/src/shaders/ |
D | SkShaderBase.h | 33 class SkShaderBase : public SkShader { 35 ~SkShaderBase() override; 82 Context(const SkShaderBase& shader, const ContextRec&); 104 const SkShaderBase& fShader; 190 static sk_sp<SkShaderBase> Deserialize(const void* data, size_t size, 192 return sk_sp<SkShaderBase>(static_cast<SkShaderBase*>( 198 SkShaderBase(const SkMatrix* localMatrix = nullptr); 224 return sk_ref_sp(const_cast<SkShaderBase*>(this)); in onMakeColorSpace() 237 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB() 238 return static_cast<SkShaderBase*>(shader); in as_SB() [all …]
|
D | SkShader.cpp | 28 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) in SkShaderBase() function in SkShaderBase 34 SkShaderBase::~SkShaderBase() {} in ~SkShaderBase() 36 void SkShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten() 46 SkShaderBase::totalLocalMatrix(const SkMatrix* preLocalMatrix, in totalLocalMatrix() 61 bool SkShaderBase::computeTotalInverse(const SkMatrix& ctm, in computeTotalInverse() 67 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor() 79 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext() 95 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context() 110 SkShaderBase::Context::~Context() {} in ~Context() 125 std::unique_ptr<GrFragmentProcessor> SkShaderBase::asFragmentProcessor(const GrFPArgs&) const { in asFragmentProcessor() [all …]
|
D | SkBitmapProcShader.cpp | 20 class BitmapProcInfoContext : public SkShaderBase::Context { 23 BitmapProcInfoContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcInfoContext() 30 fFlags |= SkShaderBase::kOpaqueAlpha_Flag; in BitmapProcInfoContext() 34 fFlags |= SkShaderBase::kConstInY32_Flag; in BitmapProcInfoContext() 44 typedef SkShaderBase::Context INHERITED; 51 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext() 95 SkShaderBase::Context* SkBitmapProcLegacyShader::MakeContext( in MakeContext() 96 const SkShaderBase& shader, TileMode tmx, TileMode tmy, in MakeContext()
|
D | SkBitmapProcShader.h | 15 class SkBitmapProcLegacyShader : public SkShaderBase { 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy, 22 typedef SkShaderBase INHERITED;
|
D | SkImageShader.h | 16 class SkImageShader : public SkShaderBase { 57 friend class SkShaderBase; variable 58 typedef SkShaderBase INHERITED;
|
D | SkPictureShader.h | 24 class SkPictureShader : public SkShaderBase { 64 SkShaderBase::Context* fBitmapShaderContext; 81 typedef SkShaderBase INHERITED;
|
D | SkLightingShader.cpp | 41 class SkLightingShaderImpl : public SkShaderBase { 67 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider*, 75 SkShaderBase::Context* fDiffuseContext; 99 typedef SkShaderBase INHERITED; 319 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider* normalProvider, in LightingShaderContext() 436 diffuseShader = buf.readFlattenable<SkShaderBase>(); in CreateProc() 456 SkShaderBase::Context* SkLightingShaderImpl::onMakeContext( in onMakeContext() 459 SkShaderBase::Context *diffuseContext = nullptr; in onMakeContext()
|
D | SkEmptyShader.h | 19 class SkEmptyShader : public SkShaderBase { 43 typedef SkShaderBase INHERITED;
|
D | SkColorFilterShader.h | 16 class SkColorFilterShader : public SkShaderBase { 35 typedef SkShaderBase INHERITED;
|
D | SkLocalMatrixShader.h | 19 class SkLocalMatrixShader final : public SkShaderBase { 62 typedef SkShaderBase INHERITED;
|
/external/skia/src/shaders/ |
D | SkShaderBase.h | 33 class SkShaderBase : public SkShader { 35 ~SkShaderBase() override; 84 Context(const SkShaderBase& shader, const ContextRec&); 106 const SkShaderBase& fShader; 192 static sk_sp<SkShaderBase> Deserialize(const void* data, size_t size, 194 return sk_sp<SkShaderBase>(static_cast<SkShaderBase*>( 200 SkShaderBase(const SkMatrix* localMatrix = nullptr); 226 return sk_ref_sp(const_cast<SkShaderBase*>(this)); in onMakeColorSpace() 239 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB() 240 return static_cast<SkShaderBase*>(shader); in as_SB() [all …]
|
D | SkShader.cpp | 29 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) in SkShaderBase() function in SkShaderBase 35 SkShaderBase::~SkShaderBase() {} in ~SkShaderBase() 37 void SkShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten() 47 SkShaderBase::totalLocalMatrix(const SkMatrix* preLocalMatrix, in totalLocalMatrix() 62 bool SkShaderBase::computeTotalInverse(const SkMatrix& ctm, in computeTotalInverse() 68 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor() 80 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext() 96 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context() 111 SkShaderBase::Context::~Context() {} in ~Context() 113 bool SkShaderBase::ContextRec::isLegacyCompatible(SkColorSpace* shaderColorSpace) const { in isLegacyCompatible() [all …]
|
D | SkBitmapProcShader.cpp | 20 class BitmapProcInfoContext : public SkShaderBase::Context { 23 BitmapProcInfoContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcInfoContext() 30 fFlags |= SkShaderBase::kOpaqueAlpha_Flag; in BitmapProcInfoContext() 34 fFlags |= SkShaderBase::kConstInY32_Flag; in BitmapProcInfoContext() 44 typedef SkShaderBase::Context INHERITED; 51 BitmapProcShaderContext(const SkShaderBase& shader, const SkShaderBase::ContextRec& rec, in BitmapProcShaderContext() 95 SkShaderBase::Context* SkBitmapProcLegacyShader::MakeContext( in MakeContext() 96 const SkShaderBase& shader, TileMode tmx, TileMode tmy, in MakeContext()
|
D | SkBitmapProcShader.h | 15 class SkBitmapProcLegacyShader : public SkShaderBase { 19 static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy, 22 typedef SkShaderBase INHERITED;
|
D | SkImageShader.h | 16 class SkImageShader : public SkShaderBase { 57 friend class SkShaderBase; variable 58 typedef SkShaderBase INHERITED;
|
D | SkPictureShader.h | 24 class SkPictureShader : public SkShaderBase { 64 SkShaderBase::Context* fBitmapShaderContext; 81 typedef SkShaderBase INHERITED;
|
D | SkLightingShader.cpp | 41 class SkLightingShaderImpl : public SkShaderBase { 67 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider*, 75 SkShaderBase::Context* fDiffuseContext; 99 typedef SkShaderBase INHERITED; 317 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider* normalProvider, in LightingShaderContext() 434 diffuseShader = buf.readFlattenable<SkShaderBase>(); in CreateProc() 454 SkShaderBase::Context* SkLightingShaderImpl::onMakeContext( in onMakeContext() 457 SkShaderBase::Context *diffuseContext = nullptr; in onMakeContext()
|
D | SkEmptyShader.h | 19 class SkEmptyShader : public SkShaderBase { 43 typedef SkShaderBase INHERITED;
|
D | SkColorFilterShader.h | 16 class SkColorFilterShader : public SkShaderBase { 35 typedef SkShaderBase INHERITED;
|
/external/skqp/src/core/ |
D | SkNormalMapSource.h | 23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec, 29 bool computeNormTotalInverse(const SkShaderBase::ContextRec& rec, 37 Provider(const SkNormalMapSourceImpl& source, SkShaderBase::Context* mapContext); in SK_FLATTENABLE_HOOKS() 43 SkShaderBase::Context* fMapContext; in SK_FLATTENABLE_HOOKS()
|
D | SkNormalMapSource.cpp | 138 SkShaderBase::Context* mapContext) in Provider() 142 SkNormalSource::Provider* SkNormalMapSourceImpl::asProvider(const SkShaderBase::ContextRec &rec, in asProvider() 152 SkShaderBase::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, in asProvider() 163 bool SkNormalMapSourceImpl::computeNormTotalInverse(const SkShaderBase::ContextRec& rec, in computeNormTotalInverse() 227 sk_sp<SkShader> mapShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()
|
D | SkCoreBlitters.h | 37 SkShaderBase::Context* shaderContext); 43 SkShaderBase::Context* fShaderContext; 123 SkShaderBase::Context* shaderContext); 150 SkRGB565_Shader_Blitter(const SkPixmap& device, const SkPaint&, SkShaderBase::Context*);
|
/external/skia/src/core/ |
D | SkNormalMapSource.h | 23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec, 29 bool computeNormTotalInverse(const SkShaderBase::ContextRec& rec, 37 Provider(const SkNormalMapSourceImpl& source, SkShaderBase::Context* mapContext); in SK_FLATTENABLE_HOOKS() 43 SkShaderBase::Context* fMapContext; in SK_FLATTENABLE_HOOKS()
|
D | SkNormalMapSource.cpp | 139 SkShaderBase::Context* mapContext) in Provider() 143 SkNormalSource::Provider* SkNormalMapSourceImpl::asProvider(const SkShaderBase::ContextRec &rec, in asProvider() 157 SkShaderBase::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, in asProvider() 168 bool SkNormalMapSourceImpl::computeNormTotalInverse(const SkShaderBase::ContextRec& rec, in computeNormTotalInverse() 232 sk_sp<SkShader> mapShader = buf.readFlattenable<SkShaderBase>(); in CreateProc()
|
D | SkCoreBlitters.h | 37 SkShaderBase::Context* shaderContext); 43 SkShaderBase::Context* fShaderContext; 123 SkShaderBase::Context* shaderContext); 150 SkRGB565_Shader_Blitter(const SkPixmap& device, const SkPaint&, SkShaderBase::Context*);
|