/external/skia/gm/ |
D | picture.cpp | 49 : fPicture(nullptr) in PictureGM() 54 fPicture = make_picture(); in onOnceBeforeDraw() 71 canvas->drawPicture(fPicture); in onDraw() 74 canvas->drawPicture(fPicture, &matrix, nullptr); in onDraw() 77 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 81 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 85 sk_sp<SkPicture> fPicture; member in PictureGM 100 : fPicture(nullptr) in PictureCullRectGM() 120 fPicture = rec.finishRecordingAsPicture(); in onOnceBeforeDraw() 122 SkASSERT(fPicture->cullRect().top() == 80); in onOnceBeforeDraw() [all …]
|
D | pictureimagefilter.cpp | 77 fPicture = make_picture(); in onOnceBeforeDraw() 88 return make(fPicture, fPicture->cullRect(), sampling); in make() 97 sk_sp<SkImageFilter> pictureSource(SkImageFilters::Picture(fPicture)); in onDraw() 98 sk_sp<SkImageFilter> pictureSourceSrcRect(SkImageFilters::Picture(fPicture, srcRect)); in onDraw() 99 sk_sp<SkImageFilter> pictureSourceEmptyRect(SkImageFilters::Picture(fPicture, in onDraw() 125 paint.setImageFilter(make(fLCDPicture, fPicture->cullRect(), SkSamplingOptions())); in onDraw() 153 sk_sp<SkPicture> fPicture; member in PictureImageFilterGM
|
D | image_pict.cpp | 61 sk_sp<SkPicture> fPicture; member in ImagePictGM 80 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 88 fImage0 = SkImage::MakeFromPicture(fPicture, size, &matrix, nullptr, in onOnceBeforeDraw() 93 fImage1 = SkImage::MakeFromPicture(fPicture, size, &matrix, nullptr, in onOnceBeforeDraw() 99 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet() 226 sk_sp<SkPicture> fPicture; member in ImageCacheratorGM 248 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 253 auto gen = fFactory(dContext, fPicture); in makeCaches() 269 auto gen = fFactory(dContext, fPicture); in makeCaches() 326 canvas->drawPicture(fPicture, &matrix, nullptr); in drawRow()
|
D | pictureshadercache.cpp | 57 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 70 paint.setShader(fPicture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw() 94 sk_sp<SkPicture> fPicture; member in PictureShaderCacheGM
|
D | image_shader.cpp | 104 sk_sp<SkPicture> fPicture; member in ImageShaderGM 122 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 145 sk_sp<SkImage> image(gProcs[i](canvas->recordingContext(), fPicture.get(), info)); in onDraw()
|
/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/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()
|
D | pictureimagegenerator.cpp | 116 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 162 SkImageGenerator::MakeFromPicture(configs[i].size, fPicture, &m, in onDraw() 185 sk_sp<SkPicture> fPicture; member in PictureGeneratorGM
|
/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/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 25 , fPicture(std::move(picture)) in SkPictureImageFilter() 46 sk_sp<SkPicture> fPicture; 77 bool hasPicture = (fPicture != nullptr); in flatten() 80 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 89 if (!fPicture) { in onFilterImage() 119 canvas->drawPicture(fPicture); in onFilterImage()
|
/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/core/ |
D | SkPictureImageGenerator.cpp | 33 sk_sp<SkPicture> fPicture; member in SkPictureImageGenerator 66 , fPicture(std::move(picture)) { in SkPictureImageGenerator() 87 canvas->drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels() 118 surface->getCanvas()->drawPicture(fPicture.get(), &matrix, fPaint.getMaybeNull()); in onGenerateTexture()
|
/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/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()
|
D | Request.h | 45 bool hasPicture() const { return SkToBool(fPicture.get()); } in hasPicture() 73 sk_sp<SkPicture> fPicture; member
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 110 if (fPicture) { in getBounds() 111 bounds = fPicture->cullRect().roundOut(); in getBounds() 203 fPicture = SkPicture::MakeFromStream(stream); in initPictureFromStream() 204 if (!fPicture) { in initPictureFromStream() 215 fDebugCanvas->drawPicture(fPicture); in initPictureFromStream()
|
D | Request.h | 45 bool hasPicture() const { return SkToBool(fPicture.get()); } in hasPicture() 73 sk_sp<SkPicture> fPicture; member
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 112 , fPicture(std::move(picture)) in SkPictureShader() 113 , fTile(tile ? *tile : fPicture->cullRect()) in SkPictureShader() 162 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 265 fPicture->uniqueID(), fTile, info.tileScale); in rasterShader() 269 image = info.makeImage(SkSurface::MakeRaster(info.imageInfo), fPicture.get()); in rasterShader() 275 SkPicturePriv::AddedToCache(fPicture.get()); in rasterShader() 396 builder[3] = fPicture->uniqueID(); in asFragmentProcessor() 416 fPicture.get()); in asFragmentProcessor()
|
/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
|