Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter_ARGB32.cpp278 const SkPaint& paint, SkShader::Context* shaderContext) in SkARGB32_Shader_Blitter() argument
279 : INHERITED(device, paint, shaderContext) in SkARGB32_Shader_Blitter()
287 if (!(shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag)) { in SkARGB32_Shader_Blitter()
297 if (shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) { in SkARGB32_Shader_Blitter()
310 fConstInY = SkToBool(shaderContext->getFlags() & SkShader::kConstInY32_Flag); in SkARGB32_Shader_Blitter()
342 SkShader::Context* shaderContext = fShaderContext; in blitRect() local
348 shaderContext->shadeSpan(x, y, device, width); in blitRect()
355 shaderContext->shadeSpan(x, y, span, width); in blitRect()
377 SkShader::Context::ShadeProc shadeProc = shaderContext->asAShadeProc(&ctx); in blitRect()
386 shaderContext->shadeSpan(x, y, device, width); in blitRect()
[all …]
DSkBlitter_RGB16.cpp111 SkShader::Context* shaderContext);
134 SkShader::Context* shaderContext);
147 SkShader::Context* shaderContext);
686 SkShader::Context* shaderContext) in SkRGB16_Shader16_Blitter() argument
687 : SkRGB16_Shader_Blitter(device, paint, shaderContext) { in SkRGB16_Shader16_Blitter()
695 SkShader::Context* shaderContext = fShaderContext; in blitH() local
697 int alpha = shaderContext->getSpan16Alpha(); in blitH()
699 shaderContext->shadeSpan16(x, y, device, width); in blitH()
702 shaderContext->shadeSpan16(x, y, span16, width); in blitH()
708 SkShader::Context* shaderContext = fShaderContext; in blitRect() local
[all …]
DSkFilterShader.cpp60 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); in onCreateContext() local
61 if (NULL == shaderContext) { in onCreateContext()
64 return SkNEW_PLACEMENT_ARGS(storage, FilterShaderContext, (*this, shaderContext, rec)); in onCreateContext()
72 SkShader::Context* shaderContext, in FilterShaderContext() argument
75 , fShaderContext(shaderContext) {} in FilterShaderContext()
DSkBlitter_A8.cpp232 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()
DSkCoreBlitters.h36 SkShader::Context* shaderContext);
95 SkShader::Context* shaderContext);
162 SkShader::Context* shaderContext);
200 SkShader::Context* shaderContext,
DSkBlitter.cpp740 Sk3DBlitter(SkBlitter* proxy, SkShader::Context* shaderContext) in Sk3DBlitter() argument
742 , fShaderContext(shaderContext) in Sk3DBlitter()
930 SkShader::Context* shaderContext; in Choose() local
935 shaderContext = shader->createContext(rec, storage); in Choose()
936 if (!shaderContext) { in Choose()
941 SkASSERT(shaderContext); in Choose()
942 SkASSERT((void*) shaderContext == storage); in Choose()
944 shaderContext = NULL; in Choose()
955 blitter = allocator->createT<SkA8_Shader_Blitter>(device, *paint, shaderContext); in Choose()
962 blitter = SkBlitter_ChooseD565(device, *paint, shaderContext, allocator); in Choose()
[all …]
DSkDraw.cpp2211 SkShader::Context* shaderContext = blitter->getShaderContext(); in drawVertices() local
2212 SkASSERT(shaderContext); in drawVertices()
2215 static_cast<SkTriColorShader::TriColorShaderContext*>(shaderContext); in drawVertices()
2221 static_cast<SkComposeShader::ComposeShaderContext*>(shaderContext); in drawVertices()
/external/chromium_org/third_party/skia/src/core/
DSkBlitter_ARGB32.cpp278 const SkPaint& paint, SkShader::Context* shaderContext) in SkARGB32_Shader_Blitter() argument
279 : INHERITED(device, paint, shaderContext) in SkARGB32_Shader_Blitter()
287 if (!(shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag)) { in SkARGB32_Shader_Blitter()
297 if (shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) { in SkARGB32_Shader_Blitter()
310 fConstInY = SkToBool(shaderContext->getFlags() & SkShader::kConstInY32_Flag); in SkARGB32_Shader_Blitter()
342 SkShader::Context* shaderContext = fShaderContext; in blitRect() local
348 shaderContext->shadeSpan(x, y, device, width); in blitRect()
355 shaderContext->shadeSpan(x, y, span, width); in blitRect()
377 SkShader::Context::ShadeProc shadeProc = shaderContext->asAShadeProc(&ctx); in blitRect()
386 shaderContext->shadeSpan(x, y, device, width); in blitRect()
[all …]
DSkBlitter_RGB16.cpp117 SkShader::Context* shaderContext);
140 SkShader::Context* shaderContext);
153 SkShader::Context* shaderContext);
696 SkShader::Context* shaderContext) in SkRGB16_Shader16_Blitter() argument
697 : SkRGB16_Shader_Blitter(device, paint, shaderContext) { in SkRGB16_Shader16_Blitter()
705 SkShader::Context* shaderContext = fShaderContext; in blitH() local
707 int alpha = shaderContext->getSpan16Alpha(); in blitH()
709 shaderContext->shadeSpan16(x, y, device, width); in blitH()
712 shaderContext->shadeSpan16(x, y, span16, width); in blitH()
718 SkShader::Context* shaderContext = fShaderContext; in blitRect() local
[all …]
DSkFilterShader.cpp69 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); in onCreateContext() local
70 if (NULL == shaderContext) { in onCreateContext()
73 return SkNEW_PLACEMENT_ARGS(storage, FilterShaderContext, (*this, shaderContext, rec)); in onCreateContext()
81 SkShader::Context* shaderContext, in FilterShaderContext() argument
84 , fShaderContext(shaderContext) {} in FilterShaderContext()
DSkBlitter_A8.cpp232 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()
DSkCoreBlitters.h36 SkShader::Context* shaderContext);
95 SkShader::Context* shaderContext);
162 SkShader::Context* shaderContext);
200 SkShader::Context* shaderContext,
DSkBlitter.cpp743 Sk3DBlitter(SkBlitter* proxy, SkShader::Context* shaderContext) in Sk3DBlitter() argument
745 , fShaderContext(shaderContext) in Sk3DBlitter()
933 SkShader::Context* shaderContext; in Choose() local
938 shaderContext = shader->createContext(rec, storage); in Choose()
939 if (!shaderContext) { in Choose()
944 SkASSERT(shaderContext); in Choose()
945 SkASSERT((void*) shaderContext == storage); in Choose()
947 shaderContext = NULL; in Choose()
958 blitter = allocator->createT<SkA8_Shader_Blitter>(device, *paint, shaderContext); in Choose()
965 blitter = SkBlitter_ChooseD565(device, *paint, shaderContext, allocator); in Choose()
[all …]
DSkDraw.cpp2222 SkShader::Context* shaderContext = blitter->getShaderContext(); in drawVertices() local
2223 SkASSERT(shaderContext); in drawVertices()
2226 static_cast<SkTriColorShader::TriColorShaderContext*>(shaderContext); in drawVertices()
2232 static_cast<SkComposeShader::ComposeShaderContext*>(shaderContext); in drawVertices()