Home
last modified time | relevance | path

Searched refs:fPicture (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/src/effects/
DSkPictureImageFilter.cpp18 , fPicture(SkSafeRef(picture)) in SkPictureImageFilter()
28 , fPicture(SkSafeRef(picture)) in SkPictureImageFilter()
35 SkSafeUnref(fPicture); in ~SkPictureImageFilter()
74 bool hasPicture = (fPicture != nullptr); in flatten()
77 fPicture->flatten(buffer); in flatten()
90 if (!fPicture) { in onFilterImageDeprecated()
132 canvas.drawPicture(fPicture); in drawPictureAtDeviceResolution()
153 localCanvas.drawPicture(fPicture); in drawPictureAtLocalResolution()
170 if (fPicture) { in toString()
172 fPicture->cullRect().fLeft, fPicture->cullRect().fTop, in toString()
[all …]
/external/skia/gm/
Dpictureimagefilter.cpp36 fPicture.reset(recorder.endRecording()); in makePicture()
61 SkPictureImageFilter::Create(fPicture)); in onDraw()
63 SkPictureImageFilter::Create(fPicture, srcRect)); in onDraw()
65 SkPictureImageFilter::Create(fPicture, emptyRect)); in onDraw()
67 SkPictureImageFilter::CreateForLocalSpace(fPicture, fPicture->cullRect(), in onDraw()
70 SkPictureImageFilter::CreateForLocalSpace(fPicture, fPicture->cullRect(), in onDraw()
105 SkAutoTUnref<SkPicture> fPicture; member in PictureImageFilterGM
Dpicture.cpp43 : fPicture(nullptr) in PictureGM()
48 fPicture.reset(make_picture()); in onOnceBeforeDraw()
65 canvas->drawPicture(fPicture); in onDraw()
68 canvas->drawPicture(fPicture, &matrix, nullptr); in onDraw()
71 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw()
75 canvas->drawPicture(fPicture, &matrix, &paint); in onDraw()
79 SkAutoTUnref<SkPicture> fPicture; member in PictureGM
Dimage_pict.cpp38 SkAutoTUnref<SkPicture> fPicture; member in ImagePictGM
57 fPicture.reset(recorder.endRecording()); in onOnceBeforeDraw()
64 fImage0.reset(SkImage::NewFromPicture(fPicture, size, &matrix, nullptr)); in onOnceBeforeDraw()
68 fImage1.reset(SkImage::NewFromPicture(fPicture, size, &matrix, nullptr)); in onOnceBeforeDraw()
73 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet()
257 SkAutoTUnref<SkPicture> fPicture; member in ImageCacheratorGM
281 fPicture.reset(recorder.endRecording()); in onOnceBeforeDraw()
285 auto gen = fFactory(ctx, fPicture); in makeCaches()
291 gen = fFactory(ctx, fPicture); in makeCaches()
336 canvas->drawPicture(fPicture, &matrix, nullptr); in drawSet()
Dimage_shader.cpp75 SkAutoTUnref<SkPicture> fPicture; member in ImageShaderGM
93 fPicture.reset(recorder.endRecording()); in onOnceBeforeDraw()
117 SkAutoTUnref<SkImage> image(gProcs[i](canvas->getGrContext(), fPicture, info)); in onDraw()
Dpictureimagegenerator.cpp115 fPicture.reset(recorder.endRecording()); in onOnceBeforeDraw()
160 SkImageGenerator::NewFromPicture(configs[i].size, fPicture.get(), &m, in onDraw()
178 SkAutoTUnref<SkPicture> fPicture; member in PictureGeneratorGM
Dpictureshader.cpp38 fPicture.reset(recorder.endRecording()); in onOnceBeforeDraw()
154 SkShader::CreatePictureShader(fPicture, kTileConfigs[tileMode].tmx, in drawScene()
175 SkAutoTUnref<SkPicture> fPicture; member in PictureShaderGM
/external/skia/samplecode/
DSamplePdfFileViewer.cpp37 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array member in PdfFileViewer
55 fPicture = nullptr; in PdfFileViewer()
59 SkSafeUnref(fPicture); in ~PdfFileViewer()
83 if (!fPicture) { in onDrawContent()
84 fPicture = LoadPdf(fFilename.c_str()); in onDrawContent()
86 if (fPicture) { in onDrawContent()
87 canvas->drawPicture(*fPicture); in onDrawContent()
/external/skia/src/core/
DSkPictureShader.cpp99 , fPicture(SkRef(picture)) in SkPictureShader()
154 fPicture->flatten(buffer); in flatten()
160 SkASSERT(fPicture && !fPicture->cullRect().isEmpty()); in refBitmapShader()
210 BitmapShaderKey key(fPicture->uniqueID(), in refBitmapShader()
223 SkImage::NewFromPicture(fPicture, tileSize, &tileMatrix, nullptr)); in refBitmapShader()
303 fPicture->cullRect().fLeft, in toString()
304 fPicture->cullRect().fTop, in toString()
305 fPicture->cullRect().fRight, in toString()
306 fPicture->cullRect().fBottom); in toString()
DSkLayerInfo.h21 BlockInfo() : fPicture(nullptr), fPaint(nullptr), fKey(nullptr), fKeySize(0) {} in BlockInfo()
23 SkSafeUnref(fPicture); in ~BlockInfo()
32 const SkPicture* fPicture; variable
DSkPictureImageGenerator.cpp34 SkAutoTUnref<const SkPicture> fPicture; member in SkPictureImageGenerator
53 , fPicture(SkRef(picture)) { in SkPictureImageGenerator()
79 canvas.drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels()
118 canvas.drawPicture(fPicture, &matrix, fPaint.getMaybeNull()); in onGenerateScaledPixels()
152 surface->getCanvas()->drawPicture(fPicture, &matrix, fPaint.getMaybeNull()); in onGenerateTexture()
DSkMultiPictureDraw.cpp25 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw()
30 fPicture = SkRef(picture); in init()
46 data[i].fPicture->unref(); in Reset()
142 GrLayerHoister::FindLayersToAtlas(context, data.fPicture, initialMatrix, in draw()
157 const SkPicture* picture = data.fPicture; in draw()
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp67 , fPicture(picture) in ReplaceDraw()
76 const SkBBoxHierarchy* bbh = fPicture->bbh(); in draw()
77 const SkRecord* record = fPicture->record(); in draw()
172 if (fPicture->bbh()) { in operator ()()
194 const SkBigPicture* fPicture; member in ReplaceDraw
DGrLayerHoister.cpp32 const SkPicture* pict = info.fPicture ? info.fPicture : topLevelPicture; in prepare_for_hoisting()
78 hl->fPicture = pict; in prepare_for_hoisting()
241 const SkBigPicture* pict = atlased[i].fPicture->asSkBigPicture(); in DrawLayersToAtlas()
325 const SkBigPicture* pict = layers[i].fPicture->asSkBigPicture(); in DrawLayers()
/external/skia/tools/skiaserve/urlhandlers/
DPostHandler.cpp66 request->fPicture.reset( in handle()
68 if (!request->fPicture.get()) { in handle()
76 request->fDebugCanvas->drawPicture(request->fPicture); in handle()
DClipAlphaHandler.cpp28 if (!request->fPicture.get() || commands.count() != 2) { in handle()
DDataHandler.cpp28 if (!request->fPicture.get() || commands.count() != 2) { in handle()
DImgHandler.cpp28 if (!request->fPicture.get() || commands.count() > 2) { in handle()
DDownloadHandler.cpp26 if (!request->fPicture.get()) { in handle()
/external/skia/debugger/
DSkDebugger.h89 return nullptr == fPicture ? SkRect::MakeEmpty() : fPicture->cullRect(); in pictureCull()
127 SkPicture* fPicture; variable
DSkDebugger.cpp15 : fPicture(nullptr) in SkDebugger()
24 SkSafeUnref(fPicture); in ~SkDebugger()
28 SkRefCnt_SafeAssign(fPicture, picture); in loadPicture()
/external/skia/bench/
DPictureNestingBench.cpp151 fPicture.reset(recorder.endRecording()); in onDelayedSetup()
156 canvas->drawPicture(fPicture); in onDraw()
161 SkAutoTUnref<SkPicture> fPicture; member in PictureNestingPlayback
/external/skia/tools/skiaserve/
DRequest.h48 SkAutoTUnref<SkPicture> fPicture; member
/external/skia/include/core/
DSkMultiPictureDraw.h61 const SkPicture* fPicture; // reffed member
/external/skia/tools/debugger/
DSkDebugCanvas.h48 void setPicture(SkPicture* picture) { fPicture = picture; } in setPicture()
233 SkPicture* fPicture; variable

12