Home
last modified time | relevance | path

Searched refs:kLastMode (Results 1 – 25 of 46) sorted by relevance

12

/external/skqp/src/core/
DSkXfermode.cpp68 SkASSERT((unsigned) mode <= (unsigned)SkBlendMode::kLastMode); in SkBlendMode_Name()
77 static_assert(SK_ARRAY_COUNT(gModeStrings) == (size_t)SkBlendMode::kLastMode + 1, "mode_count"); in SkBlendMode_Name()
81 if ((unsigned)mode > (unsigned)SkBlendMode::kLastMode) { in Make()
92 const int COUNT_BLENDMODES = (int)SkBlendMode::kLastMode + 1; in Make()
DSkValidationUtils.h18 return (unsigned)mode <= (unsigned)SkBlendMode::kLastMode; in SkIsValidMode()
/external/skia/src/core/
DSkXfermode.cpp67 SkASSERT((unsigned) mode <= (unsigned)SkBlendMode::kLastMode); in SkBlendMode_Name()
76 static_assert(SK_ARRAY_COUNT(gModeStrings) == (size_t)SkBlendMode::kLastMode + 1, "mode_count"); in SkBlendMode_Name()
80 if ((unsigned)mode > (unsigned)SkBlendMode::kLastMode) { in Make()
91 const int COUNT_BLENDMODES = (int)SkBlendMode::kLastMode + 1; in Make()
DSkValidationUtils.h18 return (unsigned)mode <= (unsigned)SkBlendMode::kLastMode; in SkIsValidMode()
/external/skqp/gm/
Daaxfermodes.cpp16 kXfermodeCount = (int)SkBlendMode::kLastMode + 1 + 1, // extra for arith
122 if (firstMode + m > (size_t)SkBlendMode::kLastMode) { in draw_pass()
232 SkASSERT(mode <= SkBlendMode::kLastMode); in drawShape()
Dxfermodes2.cpp41 for (size_t m = 0; m <= (size_t)SkBlendMode::kLastMode; m++) { in onDraw()
/external/skia/gm/
Daaxfermodes.cpp26 kXfermodeCount = (int)SkBlendMode::kLastMode + 1 + 1, // extra for arith
134 if (firstMode + m > (size_t)SkBlendMode::kLastMode) { in draw_pass()
243 SkASSERT(mode <= SkBlendMode::kLastMode); in drawShape()
Dducky_yuv_blend.cpp61 bm < static_cast<int>(SkBlendMode::kLastMode);
Dxfermodes2.cpp56 for (size_t m = 0; m <= (size_t)SkBlendMode::kLastMode; m++) { in onDraw()
Dxfermodes3.cpp80 for (size_t m = 0; m <= (size_t)SkBlendMode::kLastMode; ++m) { in onDraw()
/external/skia/experimental/skrive/src/
DDrawable.cpp23 if (bm <= static_cast<uint8_t>(SkBlendMode::kLastMode)) { in parse_node()
/external/skqp/include/core/
DSkBlendMode.h55 kLastMode = kLuminosity, //!< last valid value enumerator
/external/skqp/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp191 mode = static_cast<SkBlendMode>(d->fRandom->nextRangeU(0, (int)SkBlendMode::kLastMode)); in TestCreate()
399 GR_STATIC_ASSERT(((int)SkBlendMode::kLastMode & UINT16_MAX) == (int)SkBlendMode::kLastMode); in onGetGLSLProcessorKey()
481 mode = static_cast<SkBlendMode>(d->fRandom->nextRangeU(0, (int)SkBlendMode::kLastMode)); in TestCreate()
DGrTextureDomain.h42 kLastMode = kRepeat_Mode enumerator
44 static const int kModeCount = kLastMode + 1;
DGrCustomXfermode.cpp25 (int)mode <= (int)SkBlendMode::kLastMode; in IsSupportedMode()
51 GR_STATIC_ASSERT(kGrBlendEquationCnt == (int)SkBlendMode::kLastMode + 1 + 1 + EQ_OFFSET); in hw_blend_equation()
/external/skia/include/core/
DSkBlendMode.h73 kLastMode = kLuminosity, //!< last valid value enumerator
/external/skia/tests/
DAdvancedBlendTest.cpp31 for (int mode = (int)SkBlendMode::kLastMode; mode > (int)SkBlendMode::kLastCoeffMode; --mode) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DColorFilterTest.cpp43 for (int mode = 0; mode <= (int)SkBlendMode::kLastMode; mode++) { in DEF_TEST()
DRecordingXfermodeTest.cpp150 for (int iMode = 0; iMode < int(SkBlendMode::kLastMode); iMode++) { in DEF_TEST()
/external/skqp/tests/
DAdvancedBlendTest.cpp20 for (int mode = (int)SkBlendMode::kLastMode; mode > (int)SkBlendMode::kLastCoeffMode; --mode) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DColorFilterTest.cpp61 for (int mode = 0; mode <= (int)SkBlendMode::kLastMode; mode++) { in DEF_TEST()
DRecordingXfermodeTest.cpp148 for (int iMode = 0; iMode < int(SkBlendMode::kLastMode); iMode++) { in DEF_TEST()
/external/skia/src/gpu/effects/
DGrCustomXfermode.cpp24 (int)mode <= (int)SkBlendMode::kLastMode; in IsSupportedMode()
49 static_assert(kGrBlendEquationCnt == (int)SkBlendMode::kLastMode + 1 + 1 + kEqOffset); in hw_blend_equation()
/external/skqp/src/shaders/
DSkComposeShader.cpp48 if (!buffer.validate(mode <= (unsigned)SkBlendMode::kLastMode)) { in CreateProc()
/external/skia/src/shaders/
DSkComposeShader.cpp121 if (!buffer.validate(mode <= (unsigned)SkBlendMode::kLastMode)) { in CreateProc()

12