/external/skia/src/utils/ |
H A D | SkGatherPixelRefsAndRects.cpp | 12 void SkPictureUtils::GatherPixelRefsAndRects(SkPicture* pict, argument 14 if (0 == pict->width() || 0 == pict->height()) { 18 SkGatherPixelRefsAndRectsDevice device(pict->width(), pict->height(), prCont); 21 canvas.clipRect(SkRect::MakeWH(SkIntToScalar(pict->width()), 22 SkIntToScalar(pict->height())), 24 canvas.drawPicture(pict);
|
H A D | SkPictureUtils.cpp | 193 SkData* SkPictureUtils::GatherPixelRefs(SkPicture* pict, const SkRect& area) { argument 194 if (NULL == pict) { 198 // this test also handles if either area or pict's width/height are empty 200 SkRect::MakeWH(SkIntToScalar(pict->width()), 201 SkIntToScalar(pict->height())))) { 208 GatherPixelRefDevice device(pict->width(), pict->height(), &prset); 212 canvas.drawPicture(pict);
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkGatherPixelRefsAndRects.cpp | 12 void SkPictureUtils::GatherPixelRefsAndRects(SkPicture* pict, argument 14 if (pict->cullRect().isEmpty()) { 18 SkGatherPixelRefsAndRectsDevice device(SkScalarCeilToInt(pict->cullRect().width()), 19 SkScalarCeilToInt(pict->cullRect().height()), 23 canvas.clipRect(pict->cullRect(), SkRegion::kIntersect_Op, false); 24 canvas.drawPicture(pict);
|
/external/skia/tools/ |
H A D | PdfRenderer.cpp | 16 void PdfRenderer::init(SkPicture* pict, SkWStream* stream) { argument 23 SkASSERT(pict != NULL); 24 if (NULL == pict) { 28 fPicture = pict; 29 fCanvas.reset(this->setupCanvas(stream, pict->width(), pict->height()));
|
H A D | CopyTilesRenderer.cpp | 23 void CopyTilesRenderer::init(SkPicture* pict, const SkString* writePath, argument 28 SkASSERT(pict != NULL); 31 fPicture.reset(pict)->ref();
|
H A D | CopyTilesRenderer.h | 26 virtual void init(SkPicture* pict, const SkString* writePath, const SkString* mismatchPath,
|
H A D | skpmaker.cpp | 40 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 42 pict->serialize(&stream);
|
H A D | PictureBenchmark.cpp | 59 void PictureBenchmark::run(SkPicture* pict) { argument 60 SkASSERT(pict); 61 if (NULL == pict) { 70 fRenderer->init(pict, NULL, NULL, NULL, false); 77 fRenderer->getCanvas()->EXPERIMENTAL_optimize(pict); 86 fRenderer->getCanvas()->EXPERIMENTAL_purge(pict); 225 fRenderer->getCanvas()->EXPERIMENTAL_purge(pict);
|
H A D | PdfRenderer.h | 32 virtual void init(SkPicture* pict, SkWStream* stream);
|
H A D | PictureBenchmark.h | 31 void run(SkPicture* pict);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | distantclip.cpp | 46 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 49 pict->playback(recorder.beginRecording(pict->cullRect().width(), 50 pict->cullRect().height(),
|
H A D | pathopsskpclip.cpp | 50 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 54 canvas->drawPicture(pict); 60 canvas->drawPicture(pict);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPictureUtils.cpp | 23 CollectLayers(const SkPicture* pict, GrAccelData* accelData) argument 24 : fPictureID(pict->uniqueID()) 29 pict->cullRect().roundOut(&fCurrentClipBounds); 31 if (NULL == pict->fRecord.get()) { 35 for (fCurrentOp = 0; fCurrentOp < pict->fRecord->count(); ++fCurrentOp) { 36 pict->fRecord->visit<void>(fCurrentOp, *this); 245 const GrAccelData* GPUOptimize(const SkPicture* pict) { argument 246 if (NULL == pict || pict->cullRect().isEmpty()) { 253 static_cast<const GrAccelData*>(pict [all...] |
H A D | GrPictureUtils.h | 78 const GrAccelData* GPUOptimize(const SkPicture* pict);
|
/external/skia/gm/ |
H A D | pathopsskpclip.cpp | 54 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 58 canvas->drawPicture(pict); 64 canvas->drawPicture(pict);
|
H A D | distantclip.cpp | 51 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 54 pict->draw(recorder.beginRecording(100, offset + extents, NULL, 0));
|
/external/chromium_org/third_party/skia/tools/ |
H A D | CopyTilesRenderer.h | 30 virtual void init(const SkPicture* pict,
|
H A D | CopyTilesRenderer.cpp | 29 void CopyTilesRenderer::init(const SkPicture* pict, const SkString* writePath, argument 34 SkASSERT(pict != NULL); 37 fPicture.reset(pict)->ref();
|
H A D | PictureBenchmark.h | 31 void run(SkPicture* pict);
|
/external/skia/src/gpu/ |
H A D | GrPictureUtils.cpp | 218 GrGatherCanvas(GrGatherDevice* device, const SkPicture* pict) argument 220 , fPicture(pict) { 270 void GatherGPUInfo(const SkPicture* pict, GPUAccelData* accelData) { argument 271 if (0 == pict->width() || 0 == pict->height()) { 275 GrGatherDevice device(pict->width(), pict->height(), pict, accelData, 0); 276 GrGatherCanvas canvas(&device, pict);
|
H A D | GrPictureUtils.h | 77 void GatherGPUInfo(const SkPicture* pict, GPUAccelData* accelData);
|
/external/chromium_org/third_party/skia/include/utils/ |
H A D | SkPictureUtils.h | 29 static SkData* GatherPixelRefs(const SkPicture* pict, const SkRect& area); 80 static void GatherPixelRefsAndRects(SkPicture* pict, SkPixelRefContainer* prCont);
|
/external/skia/include/utils/ |
H A D | SkPictureUtils.h | 29 static SkData* GatherPixelRefs(SkPicture* pict, const SkRect& area); 80 static void GatherPixelRefsAndRects(SkPicture* pict, SkPixelRefContainer* prCont);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SamplePicture.cpp | 137 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 143 canvas->drawPicture(pict); 150 canvas->drawPicture(pict); 157 canvas->drawPicture(pict); 164 dumpCanvas.drawPicture(pict);
|
/external/skia/samplecode/ |
H A D | SamplePicture.cpp | 138 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 144 canvas->drawPicture(pict); 151 canvas->drawPicture(pict); 158 canvas->drawPicture(pict); 165 dumpCanvas.drawPicture(pict);
|