Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter_ARGB32.cpp323 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 …]
DSkBlitter_PM4f.cpp140 SkShader::Context* shaderContext) in SkState_Shader_Blitter() argument
141 : INHERITED(device, paint, shaderContext) in SkState_Shader_Blitter()
142 , fState(device.info(), paint, shaderContext) in SkState_Shader_Blitter()
285 static bool is_opaque(const SkPaint& paint, const SkShader::Context* shaderContext) { in is_opaque() argument
286 return shaderContext ? SkToBool(shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) in is_opaque()
291 State4f(const SkImageInfo& info, const SkPaint& paint, const SkShader::Context* shaderContext) { in State4f()
293 if (shaderContext) { in State4f()
313 State32(const SkImageInfo& info, const SkPaint& paint, const SkShader::Context* shaderContext) in State32()
314 : State4f(info, paint, shaderContext) in State32()
316 if (is_opaque(paint, shaderContext)) { in State32()
[all …]
DSkColorFilterShader.cpp58 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); in onCreateContext() local
59 if (nullptr == shaderContext) { in onCreateContext()
62 return new (storage) FilterShaderContext(*this, shaderContext, rec); in onCreateContext()
71 SkShader::Context* shaderContext, in FilterShaderContext() argument
74 , fShaderContext(shaderContext) in FilterShaderContext()
DSkBlitter_A8.cpp231 SkShader::Context* shaderContext) in SkA8_Shader_Blitter() argument
232 : 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()
DSkCoreBlitters.h36 SkShader::Context* shaderContext);
96 SkShader::Context* shaderContext);
167 SkShader::Context* shaderContext);
189 SkShader::Context* shaderContext,
193 SkShader::Context* shaderContext,
212 SkShader::Context* shaderContext,
DSkBlitter_RGB16.cpp118 SkShader::Context* shaderContext);
140 SkShader::Context* shaderContext);
683 SkShader::Context* shaderContext) in SkRGB16_Shader_Blitter() argument
684 : INHERITED(device, paint, shaderContext) in SkRGB16_Shader_Blitter()
720 SkShader::Context* shaderContext = fShaderContext; in blitRect() local
727 shaderContext->shadeSpan(x, y, buffer, width); in blitRect()
735 shaderContext->shadeSpan(x, y, buffer, width); in blitRect()
760 SkShader::Context* shaderContext = fShaderContext; in blitAntiH() local
781 shaderContext->shadeSpan(x, y, span, nonZeroCount); in blitAntiH()
809 SkShader::Context* shaderContext) in SkRGB16_Shader_Xfermode_Blitter() argument
[all …]
DSkBlitter.cpp746 Sk3DBlitter(SkBlitter* proxy, SkShader::Context* shaderContext) in Sk3DBlitter() argument
748 , fShaderContext(shaderContext) in Sk3DBlitter()
886 SkShader::Context* shaderContext = nullptr; in Choose() local
894 shaderContext = shader->createContext(rec, storage); in Choose()
895 if (!shaderContext) { in Choose()
899 SkASSERT(shaderContext); in Choose()
900 SkASSERT((void*) shaderContext == storage); in Choose()
914 blitter = allocator->createT<SkA8_Shader_Blitter>(device, *paint, shaderContext); in Choose()
921 blitter = SkBlitter_ChooseD565(device, *paint, shaderContext, allocator); in Choose()
931 blitter = SkBlitter_ARGB32_Create(device, *paint, shaderContext, allocator); in Choose()
[all …]
DSkDraw.cpp1910 SkShader::Context* shaderContext = blitter->getShaderContext(); in drawVertices() local
1911 SkASSERT(shaderContext); in drawVertices()
1914 static_cast<SkTriColorShader::TriColorShaderContext*>(shaderContext); in drawVertices()
1920 static_cast<SkComposeShader::ComposeShaderContext*>(shaderContext); in drawVertices()