Lines Matching refs:DrawMode
26 enum class DrawMode { enum
38 template<int kRectCount, RectangleLayout kLayout, ImageMode kImageMode, DrawMode kDrawMode>
41 static_assert(kImageMode == ImageMode::kNone || kDrawMode != DrawMode::kQuad,
52 if (kDrawMode == DrawMode::kBatch && kImageMode == ImageMode::kNone) { in isSuitableFor()
81 if (kDrawMode == DrawMode::kBatch) { in computeName()
83 } else if (kDrawMode == DrawMode::kRef) { in computeName()
92 SkASSERT(kDrawMode == DrawMode::kBatch); in drawImagesBatch()
114 SkASSERT(kDrawMode == DrawMode::kRef); in drawImagesRef()
131 SkASSERT(kDrawMode == DrawMode::kBatch); in drawSolidColorsBatch()
158 SkASSERT(kDrawMode == DrawMode::kRef || kDrawMode == DrawMode::kQuad); in drawSolidColorsRef()
163 if (kDrawMode == DrawMode::kRef) { in drawSolidColorsRef()
242 if (kDrawMode == DrawMode::kBatch) { in onDraw()
248 if (kDrawMode == DrawMode::kBatch) { in onDraw()
269 ADD_BENCH(n, layout, ImageMode::kShared, DrawMode::kBatch) \
270 ADD_BENCH(n, layout, ImageMode::kShared, DrawMode::kRef) \
271 ADD_BENCH(n, layout, ImageMode::kUnique, DrawMode::kBatch) \
272 ADD_BENCH(n, layout, ImageMode::kUnique, DrawMode::kRef) \
273 ADD_BENCH(n, layout, ImageMode::kNone, DrawMode::kBatch) \
274 ADD_BENCH(n, layout, ImageMode::kNone, DrawMode::kRef) \
275 ADD_BENCH(n, layout, ImageMode::kNone, DrawMode::kQuad)