Home
last modified time | relevance | path

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

/external/skia/tools/debugger/
DDebugLayerManager.cpp29 const int count = drawEvent->debugCanvas->getSize(); in setCommand()
46 auto debugCanvas = std::make_unique<DebugCanvas>(layerBounds); in storeSkPicture() local
48 debugCanvas->setOverdrawViz(false); in storeSkPicture()
49 debugCanvas->setDrawGpuOpBounds(false); in storeSkPicture()
50 debugCanvas->setClipVizColor(SK_ColorTRANSPARENT); in storeSkPicture()
52 debugCanvas->setLayerManagerAndFrame(this, frame); in storeSkPicture()
54 debugCanvas->drawPicture(picture); in storeSkPicture()
55 int numCommands = debugCanvas->getSize(); in storeSkPicture()
60 std::move(debugCanvas), // debugCanvas in storeSkPicture()
71 evt.debugCanvas->drawTo(surface->getCanvas(), evt.command); in drawLayerEventTo()
[all …]
DDebugLayerManager.h143 std::unique_ptr<DebugCanvas> debugCanvas; member
/external/skia/experimental/wasm-skp-debugger/
Ddebugger_bindings.cpp286 DebugCanvas* debugCanvas = frames[framenumber].get(); in imageUseInfo() local
288 debugCanvas = fLayerManager->getEventDebugCanvas(nodeid, framenumber); in imageUseInfo()
290 const auto& map = debugCanvas->getImageIdToCommandMap(udm); in imageUseInfo()
382 … std::unique_ptr<DebugCanvas> debugCanvas = std::make_unique<DebugCanvas>(fBoundsArray.back()); in loadSingleFrame() local
385 debugCanvas->drawPicture(picture); in loadSingleFrame()
386 return debugCanvas; in loadSingleFrame()
414 … std::unique_ptr<DebugCanvas> debugCanvas = std::make_unique<DebugCanvas>(fBoundsArray.back()); in loadMultiFrame() local
415 debugCanvas->setLayerManagerAndFrame(fLayerManager.get(), i); in loadMultiFrame()
418 debugCanvas->drawPicture(page.fPicture); in loadMultiFrame()
420 if (debugCanvas->getSize() <=0 ){ in loadMultiFrame()
[all …]
/external/skqp/tools/
Dskp_parser.cpp54 SkDebugCanvas debugCanvas(size.width(), size.height()); in main() local
55 pic->playback(&debugCanvas); in main()
61 debugCanvas.toJSON(writer, dataManager, debugCanvas.getSize(), nullCanvas.get()); in main()
/external/skia/tools/
Dskp_parser.cpp54 DebugCanvas debugCanvas(size.width(), size.height()); in main() local
55 pic->playback(&debugCanvas); in main()
61 debugCanvas.toJSON(writer, dataManager, nullCanvas.get()); in main()
/external/skqp/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()
/external/skia/tests/
DMatrixClipCollapseTest.cpp62 DebugCanvas 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()
/external/skqp/fuzz/
DFuzzCanvas.cpp1725 SkDebugCanvas debugCanvas(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ() local
1726 fuzz_canvas(fuzz, &debugCanvas); in DEF_FUZZ()
1732 debugCanvas.toJSON(writer, dataManager, debugCanvas.getSize(), nullCanvas.get()); in DEF_FUZZ()
/external/skqp/dm/
DDMSrcSink.cpp1699 SkDebugCanvas debugCanvas(src.size().width(), src.size().height()); in draw() local
1700 Error err = src.draw(&debugCanvas); in draw()
1708 debugCanvas.toJSON(writer, dataManager, debugCanvas.getSize(), nullCanvas.get()); in draw()
/external/skia/fuzz/
DFuzzCanvas.cpp1667 DebugCanvas debugCanvas(kCanvasSize.width(), kCanvasSize.height()); in DEF_FUZZ() local
1668 fuzz_canvas(fuzz, &debugCanvas); in DEF_FUZZ()
1674 debugCanvas.toJSON(writer, dataManager, nullCanvas.get()); in DEF_FUZZ()
/external/skia/dm/
DDMSrcSink.cpp2052 DebugCanvas debugCanvas(src.size().width(), src.size().height()); in draw() local
2053 Result result = src.draw(nullptr, &debugCanvas); in draw()
2061 debugCanvas.toJSON(writer, dataManager, nullCanvas.get()); in draw()