Lines Matching refs:SkCanvas
211 void drawPixels(SkCanvas* canvas, const TestPixels& pixels, const SkRect& src, in drawPixels()
213 SkCanvas::SrcRectConstraint constraint) { in drawPixels()
222 void drawCase1(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase1()
223 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase1()
239 void drawCase2(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase2()
240 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase2()
255 void drawCase3(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase3()
256 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase3()
274 void drawCase4(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase4()
275 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase4()
292 void drawCase5(SkCanvas* canvas, int transX, int transY, bool aa, in drawCase5()
293 SkCanvas::SrcRectConstraint constraint, SkFilterQuality filter) { in drawCase5()
315 void onDraw(SkCanvas* canvas) override { in onDraw()
351 …this->drawCase1(canvas, kCol0X, kRow0Y, aa, SkCanvas::kStrict_SrcRectConstraint, kNone_SkFilterQua… in onDraw()
352 …this->drawCase2(canvas, kCol0X, kRow1Y, aa, SkCanvas::kStrict_SrcRectConstraint, kNone_SkFilterQua… in onDraw()
353 …this->drawCase3(canvas, kCol0X, kRow2Y, aa, SkCanvas::kStrict_SrcRectConstraint, kNone_SkFilterQua… in onDraw()
354 …this->drawCase4(canvas, kCol0X, kRow3Y, aa, SkCanvas::kStrict_SrcRectConstraint, kNone_SkFilterQua… in onDraw()
355 …this->drawCase5(canvas, kCol0X, kRow4Y, aa, SkCanvas::kStrict_SrcRectConstraint, kNone_SkFilterQua… in onDraw()
358 …this->drawCase1(canvas, kCol1X, kRow0Y, aa, SkCanvas::kStrict_SrcRectConstraint, kLow_SkFilterQual… in onDraw()
359 …this->drawCase2(canvas, kCol1X, kRow1Y, aa, SkCanvas::kStrict_SrcRectConstraint, kLow_SkFilterQual… in onDraw()
360 …this->drawCase3(canvas, kCol1X, kRow2Y, aa, SkCanvas::kStrict_SrcRectConstraint, kLow_SkFilterQual… in onDraw()
361 …this->drawCase4(canvas, kCol1X, kRow3Y, aa, SkCanvas::kStrict_SrcRectConstraint, kLow_SkFilterQual… in onDraw()
362 …this->drawCase5(canvas, kCol1X, kRow4Y, aa, SkCanvas::kStrict_SrcRectConstraint, kLow_SkFilterQual… in onDraw()
365 …this->drawCase1(canvas, kCol2X, kRow0Y, aa, SkCanvas::kStrict_SrcRectConstraint, kHigh_SkFilterQua… in onDraw()
366 …this->drawCase2(canvas, kCol2X, kRow1Y, aa, SkCanvas::kStrict_SrcRectConstraint, kHigh_SkFilterQua… in onDraw()
367 …this->drawCase3(canvas, kCol2X, kRow2Y, aa, SkCanvas::kStrict_SrcRectConstraint, kHigh_SkFilterQua… in onDraw()
368 …this->drawCase4(canvas, kCol2X, kRow3Y, aa, SkCanvas::kStrict_SrcRectConstraint, kHigh_SkFilterQua… in onDraw()
369 …this->drawCase5(canvas, kCol2X, kRow4Y, aa, SkCanvas::kStrict_SrcRectConstraint, kHigh_SkFilterQua… in onDraw()
372 …this->drawCase1(canvas, kCol3X, kRow0Y, aa, SkCanvas::kFast_SrcRectConstraint, kNone_SkFilterQuali… in onDraw()
373 …this->drawCase2(canvas, kCol3X, kRow1Y, aa, SkCanvas::kFast_SrcRectConstraint, kNone_SkFilterQuali… in onDraw()
374 …this->drawCase3(canvas, kCol3X, kRow2Y, aa, SkCanvas::kFast_SrcRectConstraint, kNone_SkFilterQuali… in onDraw()
375 …this->drawCase4(canvas, kCol3X, kRow3Y, aa, SkCanvas::kFast_SrcRectConstraint, kNone_SkFilterQuali… in onDraw()
376 …this->drawCase5(canvas, kCol3X, kRow4Y, aa, SkCanvas::kFast_SrcRectConstraint, kNone_SkFilterQuali… in onDraw()
379 …this->drawCase1(canvas, kCol4X, kRow0Y, aa, SkCanvas::kFast_SrcRectConstraint, kLow_SkFilterQualit… in onDraw()
380 …this->drawCase2(canvas, kCol4X, kRow1Y, aa, SkCanvas::kFast_SrcRectConstraint, kLow_SkFilterQualit… in onDraw()
381 …this->drawCase3(canvas, kCol4X, kRow2Y, aa, SkCanvas::kFast_SrcRectConstraint, kLow_SkFilterQualit… in onDraw()
382 …this->drawCase4(canvas, kCol4X, kRow3Y, aa, SkCanvas::kFast_SrcRectConstraint, kLow_SkFilterQualit… in onDraw()
383 …this->drawCase5(canvas, kCol4X, kRow4Y, aa, SkCanvas::kFast_SrcRectConstraint, kLow_SkFilterQualit… in onDraw()
386 …this->drawCase1(canvas, kCol5X, kRow0Y, aa, SkCanvas::kFast_SrcRectConstraint, kHigh_SkFilterQuali… in onDraw()
387 …this->drawCase2(canvas, kCol5X, kRow1Y, aa, SkCanvas::kFast_SrcRectConstraint, kHigh_SkFilterQuali… in onDraw()
388 …this->drawCase3(canvas, kCol5X, kRow2Y, aa, SkCanvas::kFast_SrcRectConstraint, kHigh_SkFilterQuali… in onDraw()
389 …this->drawCase4(canvas, kCol5X, kRow3Y, aa, SkCanvas::kFast_SrcRectConstraint, kHigh_SkFilterQuali… in onDraw()
390 …this->drawCase5(canvas, kCol5X, kRow4Y, aa, SkCanvas::kFast_SrcRectConstraint, kHigh_SkFilterQuali… in onDraw()
455 static sk_sp<SkImage> make_image(SkCanvas* canvas, SkRect* srcR) {
461 SkCanvas* c = surface->getCanvas();
482 const SkCanvas::SrcRectConstraint constraints[] = {
483 SkCanvas::kStrict_SrcRectConstraint, SkCanvas::kFast_SrcRectConstraint