Home
last modified time | relevance | path

Searched refs:debugCanvas (Results 1 – 2 of 2) sorted by relevance

/external/skia/tools/
Dfiltermain.cpp641 SkDebugCanvas debugCanvas(SkScalarCeilToInt(inPicture->cullRect().width()), in filter_picture() local
643 inPicture->playback(&debugCanvas); in filter_picture()
647 if (debugCanvas.getSize() > 1) { in filter_picture()
648 debugCanvas.deleteDrawCommandAt(0); in filter_picture()
649 debugCanvas.deleteDrawCommandAt(debugCanvas.getSize()-1); in filter_picture()
653 int numBefore = debugCanvas.getSize(); in filter_picture()
657 for (int i = 0; i < debugCanvas.getSize(); ++i) { in filter_picture()
659 if ((*gOptTable[opt].fCheck)(&debugCanvas, i)) { in filter_picture()
660 (*gOptTable[opt].fApply)(&debugCanvas, i); in filter_picture()
665 if (debugCanvas.getSize() == i) { in filter_picture()
[all …]
/external/skia/tests/
DMatrixClipCollapseTest.cpp62 SkDebugCanvas debugCanvas(input.width(), input.height()); in gets_ops() local
63 debugCanvas.setBounds(input.width(), input.height()); in gets_ops()
64 input.draw(&debugCanvas); in gets_ops()
66 ops->setCount(debugCanvas.getSize()); in gets_ops()
67 for (int i = 0; i < debugCanvas.getSize(); ++i) { in gets_ops()
68 (*ops)[i] = debugCanvas.getDrawCommandAt(i)->getType(); in gets_ops()