/third_party/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 | 76 fPicture = make_picture(); in onOnceBeforeDraw() 87 return make(fPicture, fPicture->cullRect(), sampling); in make() 96 sk_sp<SkImageFilter> pictureSource(SkImageFilters::Picture(fPicture)); in onDraw() 97 sk_sp<SkImageFilter> pictureSourceSrcRect(SkImageFilters::Picture(fPicture, srcRect)); in onDraw() 98 sk_sp<SkImageFilter> pictureSourceEmptyRect(SkImageFilters::Picture(fPicture, in onDraw() 124 paint.setImageFilter(make(fLCDPicture, fPicture->cullRect(), SkSamplingOptions())); in onDraw() 152 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()
|
D | pictureimagegenerator.cpp | 133 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 179 SkImageGenerator::MakeFromPicture(configs[i].size, fPicture, &m, in onDraw() 202 sk_sp<SkPicture> fPicture; member in PictureGeneratorGM
|
/third_party/flutter/skia/gm/ |
D | picture.cpp | 52 : fPicture(nullptr) in PictureGM() 57 fPicture = make_picture(); in onOnceBeforeDraw() 74 canvas->drawPicture(fPicture); in onDraw() 77 canvas->drawPicture(fPicture, &matrix, nullptr); in onDraw() 80 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 84 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw() 88 sk_sp<SkPicture> fPicture; member in PictureGM 103 : fPicture(nullptr) in PictureCullRectGM() 123 fPicture = rec.finishRecordingAsPicture(); in onOnceBeforeDraw() 125 SkASSERT(fPicture->cullRect().top() == 80); in onOnceBeforeDraw() [all …]
|
D | pictureimagefilter.cpp | 77 fPicture = make_picture(); in onOnceBeforeDraw() 88 return make(fPicture, fPicture->cullRect(), fq); 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(), kNone_SkFilterQuality)); 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() 223 sk_sp<SkPicture> fPicture; member in ImageCacheratorGM 248 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 252 auto gen = fFactory(ctx, fPicture); in makeCaches() 257 gen = fFactory(ctx, fPicture); in makeCaches() 294 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet()
|
D | pictureshadercache.cpp | 57 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 70 paint.setShader(fPicture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat)); in onDraw() 93 sk_sp<SkPicture> fPicture; member in PictureShaderCacheGM
|
D | image_shader.cpp | 97 sk_sp<SkPicture> fPicture; member in ImageShaderGM 115 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 138 sk_sp<SkImage> image(gProcs[i](canvas->getGrContext(), fPicture.get(), info)); in onDraw()
|
D | pictureimagegenerator.cpp | 135 fPicture = recorder.finishRecordingAsPicture(); in onOnceBeforeDraw() 181 SkImageGenerator::MakeFromPicture(configs[i].size, fPicture, &m, in onDraw() 204 sk_sp<SkPicture> fPicture; member in PictureGeneratorGM
|
/third_party/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()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 27 , fPicture(std::move(picture)) in SkPictureImageFilterImpl() 44 sk_sp<SkPicture> fPicture; 102 bool hasPicture = (fPicture != nullptr); in flatten() 105 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 112 if (!fPicture) { in onFilterImage() 141 canvas->drawPicture(fPicture); in onFilterImage()
|
/third_party/flutter/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()
|
/third_party/skia/src/core/ |
D | SkPictureImageGenerator.cpp | 32 sk_sp<SkPicture> fPicture; member in SkPictureImageGenerator 65 , fPicture(std::move(picture)) { in SkPictureImageGenerator() 86 canvas->drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels() 118 surface->getCanvas()->drawPicture(fPicture.get(), &matrix, fPaint.getMaybeNull()); in onGenerateTexture()
|
/third_party/flutter/skia/src/shaders/ |
D | SkPictureShader.cpp | 124 , fPicture(std::move(picture)) in SkPictureShader() 125 , fTile(tile ? *tile : fPicture->cullRect()) in SkPictureShader() 158 return fPicture.get(); in isAPicture() 185 SkPicturePriv::Flatten(fPicture, buffer); in flatten() 195 SkASSERT(fPicture && !fPicture->cullRect().isEmpty()); in refBitmapShader() 254 sk_sp<SkImage> tileImage = SkImage::MakeFromPicture(fPicture, tileSize, &tileMatrix, in refBitmapShader()
|
/third_party/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
|
/third_party/flutter/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()
|
D | Request.h | 45 bool hasPicture() const { return SkToBool(fPicture.get()); } in hasPicture() 73 sk_sp<SkPicture> fPicture; member
|
/third_party/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()
|
/third_party/flutter/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
|
/third_party/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
|