/external/skqp/samplecode/ |
D | SamplePdfFileViewer.cpp | 32 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array member in PdfFileViewer 50 fPicture = nullptr; in PdfFileViewer() 54 SkSafeUnref(fPicture); in ~PdfFileViewer() 77 if (!fPicture) { in onDrawContent() 78 fPicture = LoadPdf(fFilename.c_str()); in onDrawContent() 80 if (fPicture) { in onDrawContent() 81 canvas->drawPicture(*fPicture); in onDrawContent()
|
/external/skia/samplecode/ |
D | SamplePdfFileViewer.cpp | 32 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array member in PdfFileViewer 50 fPicture = nullptr; in PdfFileViewer() 54 SkSafeUnref(fPicture); in ~PdfFileViewer() 77 if (!fPicture) { in onDrawContent() 78 fPicture = LoadPdf(fFilename.c_str()); in onDrawContent() 80 if (fPicture) { in onDrawContent() 81 canvas->drawPicture(*fPicture); in onDrawContent()
|
/external/skia/gm/ |
D | picture.cpp | 44 : fPicture(nullptr) in PictureGM() 49 fPicture = make_picture(); in onOnceBeforeDraw() 66 canvas->drawPicture(fPicture); in onDraw() 69 canvas->drawPicture(fPicture, &matrix, nullptr); in onDraw() 72 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 76 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 80 sk_sp<SkPicture> fPicture; member in PictureGM
|
D | pictureimagefilter.cpp | 66 fPicture = make_picture(); in onOnceBeforeDraw() 77 return make(fPicture, fPicture->cullRect(), fq); in make() 86 sk_sp<SkImageFilter> pictureSource(SkPictureImageFilter::Make(fPicture)); in onDraw() 87 sk_sp<SkImageFilter> pictureSourceSrcRect(SkPictureImageFilter::Make(fPicture, in onDraw() 89 sk_sp<SkImageFilter> pictureSourceEmptyRect(SkPictureImageFilter::Make(fPicture, in onDraw() 115 … paint.setImageFilter(make(fLCDPicture, fPicture->cullRect(), kNone_SkFilterQuality)); in onDraw() 143 sk_sp<SkPicture> fPicture; member in PictureImageFilterGM
|
D | image_pict.cpp | 40 sk_sp<SkPicture> fPicture; member in ImagePictGM 59 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 67 fImage0 = SkImage::MakeFromPicture(fPicture, size, &matrix, nullptr, in onOnceBeforeDraw() 72 fImage1 = SkImage::MakeFromPicture(fPicture, size, &matrix, nullptr, in onOnceBeforeDraw() 78 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet() 220 sk_sp<SkPicture> fPicture; member in ImageCacheratorGM 245 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 249 auto gen = fFactory(ctx, fPicture); in makeCaches() 254 gen = fFactory(ctx, fPicture); in makeCaches() 291 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet()
|
D | pictureshadercache.cpp | 44 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 57 paint.setShader(SkShader::MakePictureShader(fPicture, SkShader::kRepeat_TileMode, in onDraw() 82 sk_sp<SkPicture> fPicture; member in PictureShaderCacheGM
|
D | image_shader.cpp | 79 sk_sp<SkPicture> fPicture; member in ImageShaderGM 97 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 120 sk_sp<SkImage> image(gProcs[i](canvas->getGrContext(), fPicture.get(), info)); in onDraw()
|
/external/skqp/gm/ |
D | picture.cpp | 44 : fPicture(nullptr) in PictureGM() 49 fPicture = make_picture(); in onOnceBeforeDraw() 66 canvas->drawPicture(fPicture); in onDraw() 69 canvas->drawPicture(fPicture, &matrix, nullptr); in onDraw() 72 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 76 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 80 sk_sp<SkPicture> fPicture; member in PictureGM
|
D | pictureimagefilter.cpp | 66 fPicture = make_picture(); in onOnceBeforeDraw() 77 return make(fPicture, fPicture->cullRect(), fq); in make() 86 sk_sp<SkImageFilter> pictureSource(SkPictureImageFilter::Make(fPicture)); in onDraw() 87 sk_sp<SkImageFilter> pictureSourceSrcRect(SkPictureImageFilter::Make(fPicture, in onDraw() 89 sk_sp<SkImageFilter> pictureSourceEmptyRect(SkPictureImageFilter::Make(fPicture, in onDraw() 115 … paint.setImageFilter(make(fLCDPicture, fPicture->cullRect(), kNone_SkFilterQuality)); in onDraw() 143 sk_sp<SkPicture> fPicture; member in PictureImageFilterGM
|
D | image_pict.cpp | 40 sk_sp<SkPicture> fPicture; member in ImagePictGM 59 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 67 fImage0 = SkImage::MakeFromPicture(fPicture, size, &matrix, nullptr, in onOnceBeforeDraw() 72 fImage1 = SkImage::MakeFromPicture(fPicture, size, &matrix, nullptr, in onOnceBeforeDraw() 78 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet() 220 sk_sp<SkPicture> fPicture; member in ImageCacheratorGM 245 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 249 auto gen = fFactory(ctx, fPicture); in makeCaches() 254 gen = fFactory(ctx, fPicture); in makeCaches() 291 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet()
|
D | pictureshadercache.cpp | 44 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 57 paint.setShader(SkShader::MakePictureShader(fPicture, SkShader::kRepeat_TileMode, in onDraw() 82 sk_sp<SkPicture> fPicture; member in PictureShaderCacheGM
|
D | image_shader.cpp | 79 sk_sp<SkPicture> fPicture; member in ImageShaderGM 97 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 120 sk_sp<SkImage> image(gProcs[i](canvas->getGrContext(), fPicture.get(), info)); in onDraw()
|
/external/skia/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 32 , fPicture(std::move(picture)) in SkPictureImageFilter() 33 , fCropRect(fPicture ? fPicture->cullRect() : SkRect::MakeEmpty()) { in SkPictureImageFilter() 39 , fPicture(std::move(picture)) in SkPictureImageFilter() 77 bool hasPicture = (fPicture != nullptr); in flatten() 80 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 88 if (!fPicture) { in onFilterImage() 125 canvas->drawPicture(fPicture); in onFilterImage() 138 return sk_sp<SkImageFilter>(new SkPictureImageFilter(fPicture, fCropRect, std::move(dstCS))); in onMakeColorSpace()
|
/external/skqp/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 32 , fPicture(std::move(picture)) in SkPictureImageFilter() 33 , fCropRect(fPicture ? fPicture->cullRect() : SkRect::MakeEmpty()) { in SkPictureImageFilter() 39 , fPicture(std::move(picture)) in SkPictureImageFilter() 77 bool hasPicture = (fPicture != nullptr); in flatten() 80 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 88 if (!fPicture) { in onFilterImage() 125 canvas->drawPicture(fPicture); in onFilterImage() 138 return sk_sp<SkImageFilter>(new SkPictureImageFilter(fPicture, fCropRect, std::move(dstCS))); in onMakeColorSpace()
|
/external/skia/src/core/ |
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 20 fPicture = SkRef(picture); in init() 36 data[i].fPicture->unref(); in Reset() 102 const SkPicture* picture = data.fPicture; in draw()
|
D | SkPictureImageGenerator.cpp | 34 sk_sp<SkPicture> fPicture; member in SkPictureImageGenerator 67 , fPicture(std::move(picture)) { in SkPictureImageGenerator() 88 canvas->drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels() 117 surface->getCanvas()->drawPicture(fPicture.get(), &matrix, fPaint.getMaybeNull()); in onGenerateTexture()
|
/external/skia/experimental/wasm-skp-debugger/ |
D | debugger_bindings.cpp | 48 fPicture = SkPicture::MakeFromData(data, length); in loadSkp() 49 if (!fPicture) { in loadSkp() 55 fDebugCanvas->drawPicture(fPicture); in loadSkp() 70 sk_sp<SkPicture> fPicture; member in SkpDebugPlayer
|
/external/skqp/src/core/ |
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 20 fPicture = SkRef(picture); in init() 36 data[i].fPicture->unref(); in Reset() 102 const SkPicture* picture = data.fPicture; in draw()
|
D | SkPictureImageGenerator.cpp | 34 sk_sp<SkPicture> fPicture; member in SkPictureImageGenerator 67 , fPicture(std::move(picture)) { in SkPictureImageGenerator() 88 canvas->drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels() 110 surface->getCanvas()->drawPicture(fPicture.get(), &matrix, fPaint.getMaybeNull()); in onGenerateTexture()
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 113 , fPicture(std::move(picture)) in SkPictureShader() 114 , fTile(tile ? *tile : fPicture->cullRect()) in SkPictureShader() 160 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 170 SkASSERT(fPicture && !fPicture->cullRect().isEmpty()); in refBitmapShader() 238 sk_sp<SkImage> tileImage = SkImage::MakeFromPicture(fPicture, tileSize, &tileMatrix, in refBitmapShader() 304 return sk_sp<SkPictureShader>(new SkPictureShader(fPicture, fTmx, fTmy, &this->getLocalMatrix(), in onMakeColorSpace()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 113 , fPicture(std::move(picture)) in SkPictureShader() 114 , fTile(tile ? *tile : fPicture->cullRect()) in SkPictureShader() 160 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 170 SkASSERT(fPicture && !fPicture->cullRect().isEmpty()); in refBitmapShader() 238 sk_sp<SkImage> tileImage = SkImage::MakeFromPicture(fPicture, tileSize, &tileMatrix, in refBitmapShader() 304 return sk_sp<SkPictureShader>(new SkPictureShader(fPicture, fTmx, fTmy, &this->getLocalMatrix(), in onMakeColorSpace()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 103 if (fPicture) { in getBounds() 104 bounds = fPicture->cullRect().roundOut(); in getBounds() 196 fPicture = SkPicture::MakeFromStream(stream); in initPictureFromStream() 197 if (!fPicture) { in initPictureFromStream() 208 fDebugCanvas->drawPicture(fPicture); in initPictureFromStream()
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 103 if (fPicture) { in getBounds() 104 bounds = fPicture->cullRect().roundOut(); in getBounds() 196 fPicture = SkPicture::MakeFromStream(stream); in initPictureFromStream() 197 if (!fPicture) { in initPictureFromStream() 208 fDebugCanvas->drawPicture(fPicture); in initPictureFromStream()
|
/external/skia/bench/ |
D | PictureNestingBench.cpp | 150 fPicture = recorder.finishRecordingAsPicture(); in onDelayedSetup() 155 canvas->drawPicture(fPicture); in onDraw() 160 sk_sp<SkPicture> fPicture; member in PictureNestingPlayback
|
/external/skqp/bench/ |
D | PictureNestingBench.cpp | 150 fPicture = recorder.finishRecordingAsPicture(); in onDelayedSetup() 155 canvas->drawPicture(fPicture); in onDraw() 160 sk_sp<SkPicture> fPicture; member in PictureNestingPlayback
|