Home
last modified time | relevance | path

Searched refs:kCanvasSize (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DGrCCPRTest.cpp33 static constexpr int kCanvasSize = 100; variable
69 {kCanvasSize, kCanvasSize})) in CCPRPathDrawer()
99 SkIRect clipBounds = SkIRect::MakeWH(kCanvasSize, kCanvasSize); in drawPath()
125 SkRect::MakeIWH(kCanvasSize, kCanvasSize));
418 SkMatrix m = SkMatrix::MakeTrans(kCanvasSize/2, kCanvasSize/2); in onRun()
463 SkMatrix m = SkMatrix::MakeTrans(kCanvasSize/2, kCanvasSize/2); in onRun()
508 SkMatrix::MakeScale(kCanvasSize/2, kCanvasSize/2), // Fully visible. in onRun()
509 SkMatrix::MakeScale(kCanvasSize * 1.25, kCanvasSize * 1.25), // Mostly visible. in onRun()
510 SkMatrix::MakeScale(kCanvasSize * 1.5, kCanvasSize * 1.5), // Mostly NOT visible. in onRun()
547 matrices[1].postTranslate(SkScalarFloorToInt(kCanvasSize * -.25f), in onRun()
[all …]
/external/skqp/tests/
DGrCCPRTest.cpp32 static constexpr int kCanvasSize = 100; variable
66 SkBackingFit::kExact, kCanvasSize, kCanvasSize, kRGBA_8888_GrPixelConfig, in CCPRPathDrawer()
98 SkIRect clipBounds = SkIRect::MakeWH(kCanvasSize, kCanvasSize); in drawPath()
124 SkRect::MakeIWH(kCanvasSize, kCanvasSize));
409 SkMatrix m = SkMatrix::MakeTrans(kCanvasSize/2, kCanvasSize/2); in onRun()
454 SkMatrix m = SkMatrix::MakeTrans(kCanvasSize/2, kCanvasSize/2); in onRun()
499 SkMatrix::MakeScale(kCanvasSize/2, kCanvasSize/2), // Fully visible. in onRun()
500 SkMatrix::MakeScale(kCanvasSize * 1.25, kCanvasSize * 1.25), // Mostly visible. in onRun()
501 SkMatrix::MakeScale(kCanvasSize * 1.5, kCanvasSize * 1.5), // Mostly NOT visible. in onRun()
538 matrices[1].postTranslate(SkScalarFloorToInt(kCanvasSize * -.25f), in onRun()
[all …]
/external/skqp/fuzz/
DFuzzCanvas.cpp1572 constexpr SkISize kCanvasSize = {128, 160}; variable
1575 auto surface = SkSurface::MakeRasterN32Premul(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ()
1582 fuzz_canvas(fuzz, recorder.beginRecording(SkIntToScalar(kCanvasSize.width()), in DEF_FUZZ()
1583 SkIntToScalar(kCanvasSize.height()))); in DEF_FUZZ()
1591 auto surface = SkSurface::MakeRasterN32Premul(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ()
1686 …SkImageInfo::Make(kCanvasSize.width(), kCanvasSize.height(), kRGBA_8888_SkColorType, kPremul_SkAlp… in fuzz_ganesh()
1719 fuzz_canvas(fuzz, doc->beginPage(SkIntToScalar(kCanvasSize.width()), in DEF_FUZZ()
1720 SkIntToScalar(kCanvasSize.height()))); in DEF_FUZZ()
1725 SkDebugCanvas debugCanvas(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ()
/external/skia/fuzz/
DFuzzCanvas.cpp1547 constexpr SkISize kCanvasSize = {128, 160}; variable
1550 auto surface = SkSurface::MakeRasterN32Premul(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ()
1557 fuzz_canvas(fuzz, recorder.beginRecording(SkIntToScalar(kCanvasSize.width()), in DEF_FUZZ()
1558 SkIntToScalar(kCanvasSize.height()))); in DEF_FUZZ()
1566 auto surface = SkSurface::MakeRasterN32Premul(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ()
1668 SkImageInfo::Make(kCanvasSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType)); in fuzz_ganesh()
1694 fuzz_canvas(fuzz, doc->beginPage(SkIntToScalar(kCanvasSize.width()), in DEF_FUZZ()
1695 SkIntToScalar(kCanvasSize.height()))); in DEF_FUZZ()
1700 DebugCanvas debugCanvas(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ()