Searched refs:shaderContext (Results 1 – 8 of 8) sorted by relevance
/external/skqp/src/core/ |
D | SkBlitter_RGB565.cpp | 85 const SkPaint& paint, SkShaderBase::Context* shaderContext) in SkRGB565_Shader_Blitter() argument 86 : INHERITED(device, paint, shaderContext) in SkRGB565_Shader_Blitter() 88 SkASSERT(shaderContext); in SkRGB565_Shader_Blitter() 93 bool isOpaque = SkToBool(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag); in SkRGB565_Shader_Blitter() 122 auto* shaderContext = fShaderContext; in blitAntiH() local 131 shaderContext->shadeSpan(x, y, span, count); in blitAntiH()
|
D | SkBlitter_ARGB32.cpp | 961 const SkPaint& paint, SkShaderBase::Context* shaderContext) in SkARGB32_Shader_Blitter() argument 962 : INHERITED(device, paint, shaderContext) in SkARGB32_Shader_Blitter() 969 if (!(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag)) { in SkARGB32_Shader_Blitter() 979 if (shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag) { in SkARGB32_Shader_Blitter() 989 fConstInY = SkToBool(shaderContext->getFlags() & SkShaderBase::kConstInY32_Flag); in SkARGB32_Shader_Blitter() 1020 auto* shaderContext = fShaderContext; in blitRect() local 1026 shaderContext->shadeSpan(x, y, device, width); in blitRect() 1033 shaderContext->shadeSpan(x, y, span, width); in blitRect() 1055 shaderContext->shadeSpan(x, y, device, width); in blitRect() 1063 shaderContext->shadeSpan(x, y, span, width); in blitRect() [all …]
|
D | SkBlitter.cpp | 854 SkShaderBase::Context* shaderContext = nullptr; in Choose() local 856 shaderContext = as_SB(paint->getShader())->makeContext( in Choose() 861 if (!shaderContext) { in Choose() 870 if (shaderContext) { in Choose() 871 return alloc->make<SkARGB32_Shader_Blitter>(device, *paint, shaderContext); in Choose() 881 if (shaderContext && SkRGB565_Shader_Blitter::Supports(device, *paint)) { in Choose() 882 return alloc->make<SkRGB565_Shader_Blitter>(device, *paint, shaderContext); in Choose() 896 SkShaderBase::Context* shaderContext) in SkShaderBlitter() argument 899 , fShaderContext(shaderContext) { in SkShaderBlitter()
|
D | SkCoreBlitters.h | 37 SkShaderBase::Context* shaderContext); 123 SkShaderBase::Context* shaderContext);
|
/external/skia/src/core/ |
D | SkBlitter_RGB565.cpp | 85 const SkPaint& paint, SkShaderBase::Context* shaderContext) in SkRGB565_Shader_Blitter() argument 86 : INHERITED(device, paint, shaderContext) in SkRGB565_Shader_Blitter() 88 SkASSERT(shaderContext); in SkRGB565_Shader_Blitter() 93 bool isOpaque = SkToBool(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag); in SkRGB565_Shader_Blitter() 122 auto* shaderContext = fShaderContext; in blitAntiH() local 131 shaderContext->shadeSpan(x, y, span, count); in blitAntiH()
|
D | SkBlitter_ARGB32.cpp | 961 const SkPaint& paint, SkShaderBase::Context* shaderContext) in SkARGB32_Shader_Blitter() argument 962 : INHERITED(device, paint, shaderContext) in SkARGB32_Shader_Blitter() 969 if (!(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag)) { in SkARGB32_Shader_Blitter() 979 if (shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag) { in SkARGB32_Shader_Blitter() 989 fConstInY = SkToBool(shaderContext->getFlags() & SkShaderBase::kConstInY32_Flag); in SkARGB32_Shader_Blitter() 1020 auto* shaderContext = fShaderContext; in blitRect() local 1026 shaderContext->shadeSpan(x, y, device, width); in blitRect() 1033 shaderContext->shadeSpan(x, y, span, width); in blitRect() 1055 shaderContext->shadeSpan(x, y, device, width); in blitRect() 1063 shaderContext->shadeSpan(x, y, span, width); in blitRect() [all …]
|
D | SkBlitter.cpp | 862 SkShaderBase::Context* shaderContext = nullptr; in Choose() local 864 shaderContext = as_SB(paint->getShader())->makeContext( in Choose() 869 if (!shaderContext) { in Choose() 878 if (shaderContext) { in Choose() 879 return alloc->make<SkARGB32_Shader_Blitter>(device, *paint, shaderContext); in Choose() 889 if (shaderContext && SkRGB565_Shader_Blitter::Supports(device, *paint)) { in Choose() 890 return alloc->make<SkRGB565_Shader_Blitter>(device, *paint, shaderContext); in Choose() 904 SkShaderBase::Context* shaderContext) in SkShaderBlitter() argument 907 , fShaderContext(shaderContext) { in SkShaderBlitter()
|
D | SkCoreBlitters.h | 37 SkShaderBase::Context* shaderContext); 123 SkShaderBase::Context* shaderContext);
|