Searched refs:shaderContext (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkBlitter_ARGB32.cpp | 323 const SkPaint& paint, SkShader::Context* shaderContext) in SkARGB32_Shader_Blitter() argument 324 : INHERITED(device, paint, shaderContext) in SkARGB32_Shader_Blitter() 332 if (!(shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag)) { in SkARGB32_Shader_Blitter() 342 if (shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) { in SkARGB32_Shader_Blitter() 355 fConstInY = SkToBool(shaderContext->getFlags() & SkShader::kConstInY32_Flag); in SkARGB32_Shader_Blitter() 387 SkShader::Context* shaderContext = fShaderContext; in blitRect() local 393 shaderContext->shadeSpan(x, y, device, width); in blitRect() 400 shaderContext->shadeSpan(x, y, span, width); in blitRect() 422 SkShader::Context::ShadeProc shadeProc = shaderContext->asAShadeProc(&ctx); in blitRect() 431 shaderContext->shadeSpan(x, y, device, width); in blitRect() [all …]
|
D | SkBlitter_RGB16.cpp | 119 SkShader::Context* shaderContext); 142 SkShader::Context* shaderContext); 155 SkShader::Context* shaderContext); 691 SkShader::Context* shaderContext) in SkRGB16_Shader16_Blitter() argument 692 : SkRGB16_Shader_Blitter(device, paint, shaderContext) { in SkRGB16_Shader16_Blitter() 700 SkShader::Context* shaderContext = fShaderContext; in blitH() local 702 int alpha = shaderContext->getSpan16Alpha(); in blitH() 704 shaderContext->shadeSpan16(x, y, device, width); in blitH() 707 shaderContext->shadeSpan16(x, y, span16, width); in blitH() 713 SkShader::Context* shaderContext = fShaderContext; in blitRect() local [all …]
|
D | SkFilterShader.cpp | 61 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); in onCreateContext() local 62 if (NULL == shaderContext) { in onCreateContext() 65 return SkNEW_PLACEMENT_ARGS(storage, FilterShaderContext, (*this, shaderContext, rec)); in onCreateContext() 73 SkShader::Context* shaderContext, in FilterShaderContext() argument 76 , fShaderContext(shaderContext) {} in FilterShaderContext()
|
D | SkBlitter_A8.cpp | 232 SkShader::Context* shaderContext) in SkA8_Shader_Blitter() argument 233 : INHERITED(device, paint, shaderContext) { in SkA8_Shader_Blitter() 254 SkShader::Context* shaderContext = fShaderContext; in blitH() local 256 if ((shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) && !fXfermode) { in blitH() 261 shaderContext->shadeSpan(x, y, span, width); in blitH() 287 SkShader::Context* shaderContext = fShaderContext; in blitAntiH() local 292 int opaque = shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag; in blitAntiH() 304 shaderContext->shadeSpan(x, y, span, count); in blitAntiH() 334 SkShader::Context* shaderContext = fShaderContext; in blitMask() local 339 shaderContext->shadeSpan(x, y, span, width); in blitMask()
|
D | SkBlitter.cpp | 735 Sk3DBlitter(SkBlitter* proxy, SkShader::Context* shaderContext) in Sk3DBlitter() argument 737 , fShaderContext(shaderContext) in Sk3DBlitter() 865 SkShader::Context* shaderContext = NULL; in Choose() local 872 shaderContext = shader->createContext(rec, storage); in Choose() 873 if (!shaderContext) { in Choose() 877 SkASSERT(shaderContext); in Choose() 878 SkASSERT((void*) shaderContext == storage); in Choose() 892 blitter = allocator->createT<SkA8_Shader_Blitter>(device, *paint, shaderContext); in Choose() 899 blitter = SkBlitter_ChooseD565(device, *paint, shaderContext, allocator); in Choose() 905 device, *paint, shaderContext); in Choose() [all …]
|
D | SkCoreBlitters.h | 36 SkShader::Context* shaderContext); 95 SkShader::Context* shaderContext); 166 SkShader::Context* shaderContext); 204 SkShader::Context* shaderContext,
|
D | SkDraw.cpp | 2112 SkShader::Context* shaderContext = blitter->getShaderContext(); in drawVertices() local 2113 SkASSERT(shaderContext); in drawVertices() 2116 static_cast<SkTriColorShader::TriColorShaderContext*>(shaderContext); in drawVertices() 2122 static_cast<SkComposeShader::ComposeShaderContext*>(shaderContext); in drawVertices()
|