Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp230 static const BlendFormula gBlendTable[2][2][SkXfermode::kLastCoeffMode + 1] = {
305 static const BlendFormula gLCDBlendTable[SkXfermode::kLastCoeffMode + 1] = {
327 SkASSERT(xfermode >= 0 && xfermode <= SkXfermode::kLastCoeffMode); in get_blend_formula()
336 SkASSERT(xfermode >= 0 && xfermode <= SkXfermode::kLastCoeffMode); in get_lcd_blend_formula()
703 SkASSERT(fXfermode <= SkXfermode::kLastCoeffMode); in GrPorterDuffXPFactory()
729 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gFactories) == SkXfermode::kLastCoeffMode + 1); in Create()
731 if (xfermode < 0 || xfermode > SkXfermode::kLastCoeffMode) { in Create()
828 SkXfermode::Mode mode = SkXfermode::Mode(d->fRandom->nextULessThan(SkXfermode::kLastCoeffMode)); in TestCreate()
DGrCustomXfermode.cpp28 return mode > SkXfermode::kLastCoeffMode && mode <= SkXfermode::kLastMode; in IsSupportedMode()
389 int mode = d->fRandom->nextRangeU(SkXfermode::kLastCoeffMode + 1, in TestCreate()
/external/skia/gm/
Daaxfermodes.cpp68 (1 + SkXfermode::kLastCoeffMode) * kShapeSpacing); in onISize()
107 size_t firstMode = (SkXfermode::kLastCoeffMode + 1) * xfermodeSet; in draw_pass()
123 for (size_t m = 0; m <= SkXfermode::kLastCoeffMode; m++) { in draw_pass()
/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp32 for (int i = 0; i < SkXfermode::kLastCoeffMode; ++i) { in DEF_TEST()
DGrPorterDuffTest.cpp107 for (int m = 0; m <= SkXfermode::kLastCoeffMode; m++) { in test_lcd_coverage()
299 for (int m = 0; m <= SkXfermode::kLastCoeffMode; m++) { in test_color_unknown_with_coverage()
493 for (int m = 0; m <= SkXfermode::kLastCoeffMode; m++) { in test_color_unknown_no_coverage()
697 for (int m = 0; m <= SkXfermode::kLastCoeffMode; m++) { in test_color_opaque_with_coverage()
896 for (int m = 0; m <= SkXfermode::kLastCoeffMode; m++) { in test_color_opaque_no_coverage()
1199 for (int m = 0; m <= SkXfermode::kLastCoeffMode; m++) {
DGLProgramsTest.cpp222 SkXfermode::kLastCoeffMode)); in create_random_proc_tree()
/external/skia/include/core/
DSkXfermode.h91 kLastCoeffMode = kScreen_Mode, enumerator
/external/skia/src/core/
DSkModeColorFilter.cpp110 if (fMode <= SkXfermode::kLastCoeffMode) { in asFragmentProcessor()