Searched defs:shaderContext (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkFilterShader.cpp60 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); local
61 if (NULL == shaderContext) {
64 return SkNEW_PLACEMENT_ARGS(storage, FilterShaderContext, (*this, shaderContext, rec));
72 SkShader::Context* shaderContext,
75 , fShaderContext(shaderContext) {}
71 FilterShaderContext(const SkFilterShader& filterShader, SkShader::Context* shaderContext, const ContextRec& rec) argument
H A DSkBlitter_A8.cpp232 SkShader::Context* shaderContext)
233 : INHERITED(device, paint, shaderContext) {
254 SkShader::Context* shaderContext = fShaderContext; local
256 if ((shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) && !fXfermode) {
261 shaderContext->shadeSpan(x, y, span, width);
287 SkShader::Context* shaderContext = fShaderContext; local
292 int opaque = shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag;
304 shaderContext->shadeSpan(x, y, span, count);
334 SkShader::Context* shaderContext = fShaderContext; local
339 shaderContext
231 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
[all...]
H A DSkBlitter_ARGB32.cpp278 const SkPaint& paint, SkShader::Context* shaderContext)
279 : INHERITED(device, paint, shaderContext)
287 if (!(shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag)) {
297 if (shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) {
310 fConstInY = SkToBool(shaderContext->getFlags() & SkShader::kConstInY32_Flag);
342 SkShader::Context* shaderContext = fShaderContext; local
348 shaderContext->shadeSpan(x, y, device, width);
355 shaderContext->shadeSpan(x, y, span, width);
377 SkShader::Context::ShadeProc shadeProc = shaderContext->asAShadeProc(&ctx);
386 shaderContext
277 SkARGB32_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
416 SkShader::Context* shaderContext = fShaderContext; local
496 SkShader::Context* shaderContext = fShaderContext; local
549 SkShader::Context* shaderContext = fShaderContext; local
[all...]
H A DSkBlitter_RGB16.cpp111 SkShader::Context* shaderContext);
134 SkShader::Context* shaderContext);
147 SkShader::Context* shaderContext);
686 SkShader::Context* shaderContext)
687 : SkRGB16_Shader_Blitter(device, paint, shaderContext) {
695 SkShader::Context* shaderContext = fShaderContext; local
697 int alpha = shaderContext->getSpan16Alpha();
699 shaderContext->shadeSpan16(x, y, device, width);
702 shaderContext->shadeSpan16(x, y, span16, width);
708 SkShader::Context* shaderContext local
684 SkRGB16_Shader16_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
755 SkShader::Context* shaderContext = fShaderContext; local
808 SkRGB16_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
848 SkShader::Context* shaderContext = fShaderContext; local
888 SkShader::Context* shaderContext = fShaderContext; local
935 SkRGB16_Shader_Xfermode_Blitter( const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
966 SkShader::Context* shaderContext = fShaderContext; local
1020 SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext, SkTBlitterAllocator* allocator) argument
[all...]
H A DSkDraw.cpp2211 SkShader::Context* shaderContext = blitter->getShaderContext(); local
2212 SkASSERT(shaderContext);
2215 static_cast<SkTriColorShader::TriColorShaderContext*>(shaderContext);
2221 static_cast<SkComposeShader::ComposeShaderContext*>(shaderContext);
/external/skia/src/core/
H A DSkFilterShader.cpp60 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); local
61 if (NULL == shaderContext) {
64 return SkNEW_PLACEMENT_ARGS(storage, FilterShaderContext, (*this, shaderContext, rec));
72 SkShader::Context* shaderContext,
75 , fShaderContext(shaderContext) {}
71 FilterShaderContext(const SkFilterShader& filterShader, SkShader::Context* shaderContext, const ContextRec& rec) argument
H A DSkBlitter_A8.cpp232 SkShader::Context* shaderContext)
233 : INHERITED(device, paint, shaderContext) {
254 SkShader::Context* shaderContext = fShaderContext; local
256 if ((shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) && !fXfermode) {
261 shaderContext->shadeSpan(x, y, span, width);
287 SkShader::Context* shaderContext = fShaderContext; local
292 int opaque = shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag;
304 shaderContext->shadeSpan(x, y, span, count);
334 SkShader::Context* shaderContext = fShaderContext; local
339 shaderContext
231 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
[all...]
H A DSkBlitter_ARGB32.cpp278 const SkPaint& paint, SkShader::Context* shaderContext)
279 : INHERITED(device, paint, shaderContext)
287 if (!(shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag)) {
297 if (shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) {
310 fConstInY = SkToBool(shaderContext->getFlags() & SkShader::kConstInY32_Flag);
342 SkShader::Context* shaderContext = fShaderContext; local
348 shaderContext->shadeSpan(x, y, device, width);
355 shaderContext->shadeSpan(x, y, span, width);
377 SkShader::Context::ShadeProc shadeProc = shaderContext->asAShadeProc(&ctx);
386 shaderContext
277 SkARGB32_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
416 SkShader::Context* shaderContext = fShaderContext; local
496 SkShader::Context* shaderContext = fShaderContext; local
549 SkShader::Context* shaderContext = fShaderContext; local
[all...]
H A DSkBlitter_RGB16.cpp111 SkShader::Context* shaderContext);
134 SkShader::Context* shaderContext);
147 SkShader::Context* shaderContext);
686 SkShader::Context* shaderContext)
687 : SkRGB16_Shader_Blitter(device, paint, shaderContext) {
695 SkShader::Context* shaderContext = fShaderContext; local
697 int alpha = shaderContext->getSpan16Alpha();
699 shaderContext->shadeSpan16(x, y, device, width);
702 shaderContext->shadeSpan16(x, y, span16, width);
708 SkShader::Context* shaderContext local
684 SkRGB16_Shader16_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
755 SkShader::Context* shaderContext = fShaderContext; local
808 SkRGB16_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
848 SkShader::Context* shaderContext = fShaderContext; local
888 SkShader::Context* shaderContext = fShaderContext; local
935 SkRGB16_Shader_Xfermode_Blitter( const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext) argument
966 SkShader::Context* shaderContext = fShaderContext; local
1020 SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint, SkShader::Context* shaderContext, SkTBlitterAllocator* allocator) argument
[all...]
H A DSkDraw.cpp2211 SkShader::Context* shaderContext = blitter->getShaderContext(); local
2212 SkASSERT(shaderContext);
2215 static_cast<SkTriColorShader::TriColorShaderContext*>(shaderContext);
2221 static_cast<SkComposeShader::ComposeShaderContext*>(shaderContext);

Completed in 339 milliseconds