/external/skia/src/doc/ |
D | SkDocument_XPS.cpp | 36 fCanvas.reset(SkNEW_ARGS(SkCanvas, (&fDevice))); in onBeginPage() 37 fCanvas->clipRect(trimBox); in onBeginPage() 38 fCanvas->translate(trimBox.x(), trimBox.y()); in onBeginPage() 39 return fCanvas.get(); in onBeginPage() 43 SkASSERT(fCanvas.get()); in onEndPage() 44 fCanvas->flush(); in onEndPage() 45 fCanvas.reset(NULL); in onEndPage() 50 SkASSERT(!fCanvas.get()); in onClose() 58 SkAutoTUnref<SkCanvas> fCanvas; member in SkDocument_XPS
|
D | SkDocument_PDF.cpp | 301 SkASSERT(!fCanvas.get()); in onBeginPage() 307 fCanvas.reset(SkNEW_ARGS(SkCanvas, (device.get()))); in onBeginPage() 309 fCanvas->clipRect(trimBox); in onBeginPage() 310 fCanvas->translate(trimBox.x(), trimBox.y()); in onBeginPage() 311 return fCanvas.get(); in onBeginPage() 315 SkASSERT(fCanvas.get()); in onEndPage() 316 fCanvas->flush(); in onEndPage() 317 fCanvas.reset(NULL); in onEndPage() 321 SkASSERT(!fCanvas.get()); in onClose() 337 SkAutoTUnref<SkCanvas> fCanvas; member in __anoncf4749eb0111::SkDocument_PDF
|
/external/skia/src/core/ |
D | SkMultiPictureDraw.cpp | 25 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 31 fCanvas = SkRef(canvas); in init() 47 data[i].fCanvas->unref(); in Reset() 95 dd->fCanvas->drawPicture(dd->fPicture, &dd->fMatrix, dd->fPaint); in draw() 112 GrContext* context = fGPUDrawData[0].fCanvas->getGrContext(); in draw() 123 SkASSERT(data.fCanvas->getGrContext() == context); in draw() 127 if (!data.fCanvas->getClipBounds(&clipBounds)) { in draw() 131 SkMatrix initialMatrix = data.fCanvas->getTotalMatrix(); in draw() 134 GrRenderTarget* rt = data.fCanvas->internal_private_accessTopLayerRenderTarget(); in draw() 155 SkCanvas* canvas = data.fCanvas; in draw() [all …]
|
D | SkRecordDraw.h | 49 , fCanvas(canvas) 71 SkCanvas* fCanvas; variable
|
D | SkCanvasPriv.h | 19 SkCanvas* fCanvas;
|
/external/skia/tools/ |
D | CopyTilesRenderer.cpp | 49 fCanvas.reset(this->INHERITED::setupCanvas(fLargeTileWidth, fLargeTileHeight)); in init() 58 SkAutoCanvasRestore autoRestore(fCanvas, true); in render() 62 SkMatrix mat(fCanvas->getTotalMatrix()); in render() 64 fCanvas->setMatrix(mat); in render() 69 mpd.add(fCanvas, fPicture); in render() 73 fCanvas->drawPicture(fPicture); in render() 77 fCanvas->readPixels(SkIRect::MakeSize(fCanvas->getBaseLayerSize()), &baseBitmap); in render()
|
D | PictureRenderer.cpp | 68 SkASSERT(NULL == fCanvas.get()); in init() 69 if (fPicture || fCanvas.get()) { in init() 79 fCanvas.reset(this->setupCanvas()); in init() 196 fCanvas.reset(NULL); in end() 390 SkASSERT(fCanvas.get() != NULL); in render() 392 if (NULL == fCanvas.get() || NULL == fPicture) { in render() 396 PipeController pipeController(fCanvas.get()); in render() 401 fCanvas->flush(); in render() 406 fCanvas->readPixels(*out, 0, 0); in render() 409 return write(fCanvas, fWritePath, fMismatchPath, fInputFilename, fJsonSummaryPtr, in render() [all …]
|
/external/skia/debugger/QT/ |
D | SkGLWidget.cpp | 42 fCanvas.reset(NULL); in initializeGL() 59 fCanvas.reset(NULL); in createRenderTarget() 67 fCanvas.reset(new SkCanvas(fGpuDevice)); in createRenderTarget() 76 if (!this->isHidden() && fCanvas) { in paintGL() 78 fDebugger->draw(fCanvas.get()); in paintGL() 80 fCanvas->flush(); in paintGL()
|
/external/skia/include/pipe/ |
D | SkGPipe.h | 54 SkCanvas* fCanvas; 65 SkGPipeController() : fCanvas(NULL) {} in SkGPipeController() 94 SkGPipeCanvas* fCanvas; variable 102 bool isRecording() const { return SkToBool(fCanvas); } in isRecording() 164 SkGPipeCanvas* fCanvas; variable
|
/external/skia/experimental/PdfViewer/inc/ |
D | SkPdfTokenLooper.h | 36 , fCanvas(canvas) {} in SkPdfTokenLooper() 46 , fCanvas(parent->fCanvas) {} in SkPdfTokenLooper() 65 SkCanvas* fCanvas; variable
|
/external/skia/bench/ |
D | StrokeBench.cpp | 15 SkCanvas* fCanvas; member 26 rec->fCanvas->drawRect(r, rec->fPaint); in draw_rect() 35 rec->fCanvas->drawRRect(rec->fRRect, rec->fPaint); in draw_rrect() 45 rec->fCanvas->drawOval(r, rec->fPaint); in draw_oval() 82 fRec.fCanvas = canvas; in onDraw()
|
D | BezierBench.cpp | 14 SkCanvas* fCanvas; member 24 SkCanvas* canvas = rec->fCanvas; in draw_quad() 36 SkCanvas* canvas = rec->fCanvas; in draw_cubic() 82 fRec.fCanvas = canvas; in onDraw()
|
/external/skia/include/core/ |
D | SkCanvas.h | 1370 explicit AutoValidateClip(SkCanvas* canvas) : fCanvas(canvas) { in AutoValidateClip() 1371 fCanvas->validateClip(); in AutoValidateClip() 1373 ~AutoValidateClip() { fCanvas->validateClip(); } in ~AutoValidateClip() 1376 const SkCanvas* fCanvas; 1394 SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) : fCanvas(canvas), fSaveCount(0) { in SkAutoCanvasRestore() 1395 if (fCanvas) { in SkAutoCanvasRestore() 1403 if (fCanvas) { in ~SkAutoCanvasRestore() 1404 fCanvas->restoreToCount(fSaveCount); in ~SkAutoCanvasRestore() 1413 if (fCanvas) { in restore() 1414 fCanvas->restoreToCount(fSaveCount); in restore() [all …]
|
/external/skia/src/pipe/ |
D | SkGPipeWrite.cpp | 187 SkGPipeCanvas* fCanvas; member in BitmapShuttle 357 AutoPipeNotify(SkGPipeCanvas* canvas) : fCanvas(canvas) {} in AutoPipeNotify() 358 ~AutoPipeNotify() { fCanvas->doNotify(); } in ~AutoPipeNotify() 360 SkGPipeCanvas* fCanvas; member in SkGPipeCanvas::AutoPipeNotify 1316 SkSafeUnref(fCanvas); in ~SkGPipeController() 1320 SkRefCnt_SafeAssign(fCanvas, canvas); in setCanvas() 1327 fCanvas = NULL; in SkGPipeWriter() 1336 if (NULL == fCanvas) { in startRecording() 1338 fCanvas = SkNEW_ARGS(SkGPipeCanvas, (controller, &fWriter, flags, width, height)); in startRecording() 1340 controller->setCanvas(fCanvas); in startRecording() [all …]
|
/external/skia/experimental/SkV8Example/ |
D | JsContext.h | 32 , fCanvas(NULL) in JsContext() 43 virtual SkCanvas* getCanvas() { return fCanvas; }; in getCanvas() 58 SkCanvas* fCanvas; variable
|
/external/skia/src/gpu/ |
D | GrRecordReplaceDraw.cpp | 67 , fCanvas(canvas) in ReplaceDraw() 96 (void)fCanvas->getClipBounds(&query); in draw() 136 SkAutoCanvasMatrixPaint acmp(fCanvas, &dp.matrix, dp.paint, dp.picture->cullRect()); in operator ()() 139 ReplaceDraw draw(fCanvas, fLayerCache, in operator ()() 169 draw_replacement_bitmap(layer, fCanvas); in operator ()() 190 SkCanvas* fCanvas; member in ReplaceDraw
|
/external/skia/src/animator/ |
D | SkDrawTo.cpp | 39 SkCanvas* save = maker.fCanvas; in draw() 40 maker.fCanvas = &canvas; in draw() 42 maker.fCanvas = save; in draw()
|
D | SkDrawSaveLayer.cpp | 44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint); in draw() 47 maker.fCanvas->saveLayer(&bounds->fRect, save); in draw() 52 maker.fCanvas->restore(); in draw()
|
D | SkDrawClip.cpp | 33 maker.fCanvas->clipRect(rect->fRect); in draw() 36 maker.fCanvas->clipPath(path->fPath); in draw()
|
D | SkDisplayMovie.cpp | 79 maker.fCanvas->save(); in draw() 81 bool result = fMovie.draw(maker.fCanvas, &local, in draw() 84 maker.fCanvas->restore(); in draw()
|
D | SkSnapshot.cpp | 65 pixels.allocPixels(maker.fCanvas->imageInfo()); in draw() 66 maker.fCanvas->readPixels(&pixels, 0, 0); in draw()
|
D | SkDrawRectangle.cpp | 50 maker.fCanvas->drawRect(fRect, *maker.fPaint); in draw() 131 maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); in draw()
|
D | SkDrawFull.cpp | 16 maker.fCanvas->drawPaint(*maker.fPaint); in draw()
|
D | SkDrawOval.cpp | 26 maker.fCanvas->drawOval(fRect, *maker.fPaint); in draw()
|
/external/skia/src/utils/ |
D | SkTextBox.cpp | 244 SkCanvas* fCanvas; member in CanvasVisitor 246 CanvasVisitor(SkCanvas* canvas) : fCanvas(canvas) {} in CanvasVisitor() 250 fCanvas->drawText(text, length, x, y, paint); in operator ()()
|