Searched defs:grColor (Results 1 - 14 of 14) sorted by relevance

/external/skia/src/core/
H A DSkPictureShader.cpp192 const SkMatrix* localMatrix, GrColor* grColor,
198 return bitmapShader->asNewEffect(context, paint, NULL, grColor, grEffect);
202 const SkMatrix* localMatrix, GrColor* grColor,
191 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
201 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
H A DSkBitmapProcShader.cpp386 const SkMatrix* localMatrix, GrColor* grColor,
457 *grColor = (kAlpha_8_SkColorType == fRawBitmap.colorType()) ? SkColor2GrColor(paint.getColor())
473 const SkMatrix* localMatrix, GrColor* grColor,
385 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
472 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
H A DSkShader.cpp218 const SkMatrix* localMatrixOrNull, GrColor* grColor,
357 const SkMatrix* localMatrix, GrColor* grColor,
362 *grColor = SkColor2GrColor(SkColorSetA(skColor, newA));
369 const SkMatrix* localMatrix, GrColor* grColor,
217 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrixOrNull, GrColor* grColor, GrEffectRef** grEffect) const argument
356 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
368 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
/external/skia/src/effects/gradients/
H A DSkSweepGradient.cpp252 GrColor grColor; local
253 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
287 const SkMatrix* localMatrix, GrColor* grColor,
304 *grColor = SkColor2GrColorJustAlpha(paint.getColor());
312 const SkMatrix* localMatrix, GrColor* grColor,
286 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
311 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
H A DSkLinearGradient.cpp531 GrColor grColor; local
533 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
555 const SkMatrix* localMatrix, GrColor* grColor,
572 *grColor = SkColor2GrColorJustAlpha(paint.getColor());
581 const SkMatrix* localMatrix, GrColor* grColor,
554 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
580 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
H A DSkRadialGradient.cpp542 GrColor grColor; local
544 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
567 const SkMatrix* localMatrix, GrColor* grColor,
584 *grColor = SkColor2GrColorJustAlpha(paint.getColor());
593 const SkMatrix* localMatrix, GrColor* grColor,
566 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
592 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
H A DSkTwoPointConicalGradient.cpp385 const SkMatrix* localMatrix, GrColor* grColor,
391 *grColor = SkColor2GrColorJustAlpha(paint.getColor());
398 const SkMatrix* localMatrix, GrColor* grColor,
384 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
397 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
H A DSkTwoPointConicalGradient_gpu.cpp207 GrColor grColor; local
208 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
481 GrColor grColor; local
482 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
692 GrColor grColor; local
694 shader->asNewEffect(context, paint, NULL, &grColor, &grEffect);
937 GrColor grColor; local
939 shader->asNewEffect(context, paint, NULL, &grColor, &grEffect);
1168 GrColor grColor; local
1170 shader->asNewEffect(context, paint, NULL, &grColor,
[all...]
/external/skia/src/gpu/
H A DSkGr.cpp422 void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor grColor, argument
448 grPaint->setColor(grColor);
521 GrColor grColor = SkColor2GrColor(skPaint.getColor()); local
532 // the default grColor is the paint's color
534 if (shader->asNewEffect(context, skPaint, NULL, &grColor, &grEffect) && NULL != grEffect) {
543 SkPaint2GrPaintNoShader(context, skPaint, grColor, constantColor, grPaint);
/external/skia/src/effects/
H A DSkPerlinNoiseShader.cpp636 GrColor grColor; local
638 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
965 const SkMatrix* externalLocalMatrix, GrColor* grColor,
969 *grColor = SkColor2GrColorJustAlpha(paint.getColor());
1019 const SkMatrix* externalLocalMatrix, GrColor* grColor,
964 asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* externalLocalMatrix, GrColor* grColor, GrEffectRef** grEffect) const argument
/external/chromium_org/third_party/skia/tests/
H A DPathOpsSkpClipTest.cpp329 SkPMColor grColor = grRow[x]; local
331 int dr = SkGetPackedR32(grColor) - SkGetPackedR32(skColor);
332 int dg = SkGetPackedG32(grColor) - SkGetPackedG32(skColor);
333 int db = SkGetPackedB32(grColor) - SkGetPackedB32(skColor);
H A DSkpSkGrTest.cpp281 SkPMColor grColor = grRow[x]; local
283 int dr = SkGetPackedR32(grColor) - SkGetPackedR32(skColor);
284 int dg = SkGetPackedG32(grColor) - SkGetPackedG32(skColor);
285 int db = SkGetPackedB32(grColor) - SkGetPackedB32(skColor);
/external/skia/tests/
H A DPathOpsSkpClipTest.cpp479 SkPMColor grColor = grRow[x]; local
481 int dr = SkGetPackedR32(grColor) - SkGetPackedR32(skColor);
482 int dg = SkGetPackedG32(grColor) - SkGetPackedG32(skColor);
483 int db = SkGetPackedB32(grColor) - SkGetPackedB32(skColor);
H A DSkpSkGrTest.cpp283 SkPMColor grColor = grRow[x]; local
285 int dr = SkGetPackedR32(grColor) - SkGetPackedR32(skColor);
286 int dg = SkGetPackedG32(grColor) - SkGetPackedG32(skColor);
287 int db = SkGetPackedB32(grColor) - SkGetPackedB32(skColor);

Completed in 334 milliseconds