Home
last modified time | relevance | path

Searched refs:filterCanvas (Results 1 – 6 of 6) sorted by relevance

/external/skqp/tools/debugger/
DSkDebugCanvas.cpp112 DebugPaintFilterCanvas filterCanvas(originalCanvas, fOverdrawViz); in drawTo() local
125 filterCanvas.flush(); in drawTo()
133 fCommandVector[i]->execute(&filterCanvas); in drawTo()
141 filterCanvas.save(); in drawTo()
143 filterCanvas.clipRect( in drawTo()
148 filterCanvas.drawPaint(clipPaint); in drawTo()
149 filterCanvas.restore(); in drawTo()
152 fMatrix = filterCanvas.getTotalMatrix(); in drawTo()
153 fClip = filterCanvas.getDeviceClipBounds(); in drawTo()
154 filterCanvas.restoreToCount(saveCount); in drawTo()
[all …]
/external/skia/tools/debugger/
DSkDebugCanvas.cpp113 DebugPaintFilterCanvas filterCanvas(originalCanvas, fOverdrawViz); in drawTo() local
126 filterCanvas.flush(); in drawTo()
134 fCommandVector[i]->execute(&filterCanvas); in drawTo()
142 filterCanvas.save(); in drawTo()
144 filterCanvas.clipRect( in drawTo()
149 filterCanvas.drawPaint(clipPaint); in drawTo()
150 filterCanvas.restore(); in drawTo()
153 fMatrix = filterCanvas.getTotalMatrix(); in drawTo()
154 fClip = filterCanvas.getDeviceClipBounds(); in drawTo()
155 filterCanvas.restoreToCount(saveCount); in drawTo()
[all …]
/external/skia/tests/
DCanvasTest.cpp701 MockFilterCanvas filterCanvas(&canvas); in DEF_TEST() local
702 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
703 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds() == filterCanvas.getLocalClipBounds()); in DEF_TEST()
705 filterCanvas.clipRect(SkRect::MakeXYWH(30.5f, 30.7f, 100, 100)); in DEF_TEST()
706 filterCanvas.scale(0.75f, 0.5f); in DEF_TEST()
707 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
708 …REPORTER_ASSERT(reporter, filterCanvas.getLocalClipBounds().contains(canvas.getLocalClipBounds())); in DEF_TEST()
/external/skqp/tests/
DCanvasTest.cpp701 MockFilterCanvas filterCanvas(&canvas); in DEF_TEST() local
702 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
703 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds() == filterCanvas.getLocalClipBounds()); in DEF_TEST()
705 filterCanvas.clipRect(SkRect::MakeXYWH(30.5f, 30.7f, 100, 100)); in DEF_TEST()
706 filterCanvas.scale(0.75f, 0.5f); in DEF_TEST()
707 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
708 …REPORTER_ASSERT(reporter, filterCanvas.getLocalClipBounds().contains(canvas.getLocalClipBounds())); in DEF_TEST()
/external/skqp/tools/viewer/
DViewer.cpp1183 OveridePaintFilterCanvas filterCanvas(tileCanvas, &fPaint, &fPaintOverrides, in drawSlide() local
1185 fSlides[fCurrentSlide]->draw(&filterCanvas); in drawSlide()
1206 …OveridePaintFilterCanvas filterCanvas(slideCanvas, &fPaint, &fPaintOverrides, &fFont, &fFontOverri… in drawSlide() local
1207 fSlides[fCurrentSlide]->draw(&filterCanvas); in drawSlide()
/external/skia/tools/viewer/
DViewer.cpp1244 OveridePaintFilterCanvas filterCanvas(tileCanvas, &fPaint, &fPaintOverrides, in drawSlide() local
1246 fSlides[fCurrentSlide]->draw(&filterCanvas); in drawSlide()
1267 …OveridePaintFilterCanvas filterCanvas(slideCanvas, &fPaint, &fPaintOverrides, &fFont, &fFontOverri… in drawSlide() local
1268 fSlides[fCurrentSlide]->draw(&filterCanvas); in drawSlide()