Home
last modified time | relevance | path

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

/third_party/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()
DSkBlendModeBlender.cpp63 SkBlendMode mode = buffer.read32LE(SkBlendMode::kLastMode); in CreateProc()
DSkPicturePlayback.cpp518 if (mode <= (unsigned)SkBlendMode::kLastMode) { in handleOp()
609 SkBlendMode bmode = reader->read32LE(SkBlendMode::kLastMode); in handleOp()
DSkPaint.cpp274 paint->setBlendMode(safe.checkLE(mode, SkBlendMode::kLastMode)); in unpack_v68()
/third_party/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()
/third_party/skia/experimental/skrive/src/
DDrawable.cpp23 if (bm <= static_cast<uint8_t>(SkBlendMode::kLastMode)) { in parse_node()
/third_party/skia/include/core/
DSkBlendMode.h73 kLastMode = kLuminosity, //!< last valid value enumerator
/third_party/skia/tests/
DAdvancedBlendTest.cpp31 for (int mode = (int)SkBlendMode::kLastMode; mode > (int)SkBlendMode::kLastCoeffMode; --mode) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRuntimeBlendTest.cpp34 for (int m = 0; m <= (int)SkBlendMode::kLastMode; ++m) { in test_blend()
DColorFilterTest.cpp44 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()
DProgramsTest.cpp199 (int)SkBlendMode::kLastMode)); in create_random_proc_tree()
DImageFilterTest.cpp1820 const int kModeCount = static_cast<int>(SkBlendMode::kLastMode) + 1; in DEF_TEST()
/third_party/skia/src/gpu/effects/
DGrCustomXfermode.cpp23 (int)mode <= (int)SkBlendMode::kLastMode; in IsSupportedMode()
48 static_assert(kGrBlendEquationCnt == (int)SkBlendMode::kLastMode + 1 + 1 + kEqOffset); in hw_blend_equation()
DGrBlendFragmentProcessor.cpp185 mode = static_cast<SkBlendMode>(d->fRandom->nextRangeU(0, (int)SkBlendMode::kLastMode)); in TestCreate()
/third_party/skia/fuzz/
DFuzzCanvas.cpp100 fuzz->nextEnum(&mode, SkBlendMode::kLastMode); in make_fuzz_colorfilter()
214 fuzz->nextEnum(&blendMode, SkBlendMode::kLastMode); in make_fuzz_shader()
783 fuzz->nextEnum(&blendMode, SkBlendMode::kLastMode); in make_fuzz_imageFilter()
841 paint->setBlendMode( make_fuzz_enum_range<SkBlendMode>(fuzz, SkBlendMode::kLastMode)); in fuzz_paint()
1386 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in fuzz_canvas()
1499 fuzz->nextEnum(&mode, SkBlendMode::kLastMode); in fuzz_canvas()
DFuzzDrawFunctions.cpp39 fuzz->nextRange(&tmp_u8, 0, (int)SkBlendMode::kLastMode); in init_paint()
/third_party/skia/src/shaders/
DSkComposeShader.cpp89 if (buffer.validate(mode <= (unsigned)SkBlendMode::kLastMode)) { in CreateProc()
/third_party/skia/src/effects/imagefilters/
DSkBlendImageFilter.cpp107 if (mode > (unsigned)SkBlendMode::kLastMode) { in CreateProc()
/third_party/skia/tools/debugger/
DDrawCommand.cpp377 static_assert(SK_ARRAY_COUNT(gBlendModeMap) == static_cast<size_t>(SkBlendMode::kLastMode) + 1,
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt361 …kLastSeparableMode = kMultiply, kHue, kSaturation, kColor, kLuminosity, kLastMode = kLuminosity, }…