Home
last modified time | relevance | path

Searched refs:shaderContext (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkBlitter_ARGB32.cpp333 const SkPaint& paint, SkShaderBase::Context* shaderContext) in SkARGB32_Shader_Blitter() argument
334 : INHERITED(device, paint, shaderContext) in SkARGB32_Shader_Blitter()
341 if (!(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag)) { in SkARGB32_Shader_Blitter()
351 if (shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag) { in SkARGB32_Shader_Blitter()
361 fConstInY = SkToBool(shaderContext->getFlags() & SkShaderBase::kConstInY32_Flag); in SkARGB32_Shader_Blitter()
392 auto* shaderContext = fShaderContext; in blitRect() local
398 shaderContext->shadeSpan(x, y, device, width); in blitRect()
405 shaderContext->shadeSpan(x, y, span, width); in blitRect()
427 auto shadeProc = shaderContext->asAShadeProc(&ctx); in blitRect()
436 shaderContext->shadeSpan(x, y, device, width); in blitRect()
[all …]
DSkBlitter_RGB565.cpp88 const SkPaint& paint, SkShaderBase::Context* shaderContext) in SkRGB565_Shader_Blitter() argument
89 : INHERITED(device, paint, shaderContext) in SkRGB565_Shader_Blitter()
91 SkASSERT(shaderContext); in SkRGB565_Shader_Blitter()
96 bool isOpaque = SkToBool(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag); in SkRGB565_Shader_Blitter()
125 auto* shaderContext = fShaderContext; in blitAntiH() local
134 shaderContext->shadeSpan(x, y, span, count); in blitAntiH()
DSkBlitter.cpp729 Sk3DBlitter(SkBlitter* proxy, SkShaderBase::Context* shaderContext) in Sk3DBlitter() argument
731 , fShaderContext(shaderContext) in Sk3DBlitter()
933 SkShaderBase::Context* shaderContext = nullptr; in Choose() local
939 shaderContext = shader->makeContext(rec, alloc); in Choose()
940 if (!shaderContext) { in Choose()
943 SkASSERT(shaderContext); in Choose()
953 blitter = alloc->make<SkARGB32_Shader_Blitter>(device, *paint, shaderContext); in Choose()
964 blitter = alloc->make<SkRGB565_Shader_Blitter>(device, *paint, shaderContext); in Choose()
986 blitter = alloc->make<Sk3DBlitter>(innerBlitter, shaderContext); in Choose()
994 SkShaderBase::Context* shaderContext) in SkShaderBlitter() argument
[all …]
DSkCoreBlitters.h36 SkShaderBase::Context* shaderContext);
119 SkShaderBase::Context* shaderContext);