/external/skia/src/utils/ |
SkGatherPixelRefsAndRects.cpp | 12 void SkPictureUtils::GatherPixelRefsAndRects(SkPicture* pict, 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);
|
SkPictureUtils.cpp | 193 SkData* SkPictureUtils::GatherPixelRefs(SkPicture* pict, const SkRect& area) { 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/ |
SkGatherPixelRefsAndRects.cpp | 12 void SkPictureUtils::GatherPixelRefsAndRects(SkPicture* pict, 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/ |
PdfRenderer.cpp | 16 void PdfRenderer::init(SkPicture* pict, SkWStream* stream) { 23 SkASSERT(pict != NULL); 24 if (NULL == pict) { 28 fPicture = pict; 29 fCanvas.reset(this->setupCanvas(stream, pict->width(), pict->height()));
|
CopyTilesRenderer.h | 26 virtual void init(SkPicture* pict, const SkString* writePath, const SkString* mismatchPath,
|
CopyTilesRenderer.cpp | 23 void CopyTilesRenderer::init(SkPicture* pict, const SkString* writePath, 28 SkASSERT(pict != NULL); 31 fPicture.reset(pict)->ref();
|
skpmaker.cpp | 40 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 42 pict->serialize(&stream);
|
PictureBenchmark.cpp | 59 void PictureBenchmark::run(SkPicture* pict) { 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);
|
PdfRenderer.h | 32 virtual void init(SkPicture* pict, SkWStream* stream);
|
/frameworks/base/core/jni/ |
android_graphics_Picture.cpp | 75 Picture* pict = reinterpret_cast<Picture*>(pictureHandle); local 76 return static_cast<jint>(pict->width()); 80 Picture* pict = reinterpret_cast<Picture*>(pictureHandle); local 81 return static_cast<jint>(pict->height()); 86 Picture* pict = reinterpret_cast<Picture*>(pictHandle); local 87 Canvas* canvas = pict->beginRecording(w, h); 92 Picture* pict = reinterpret_cast<Picture*>(pictHandle); local 93 pict->endRecording();
|
/external/chromium_org/third_party/skia/gm/ |
distantclip.cpp | 46 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 49 pict->playback(recorder.beginRecording(pict->cullRect().width(), 50 pict->cullRect().height(),
|
pathopsskpclip.cpp | 50 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 54 canvas->drawPicture(pict); 60 canvas->drawPicture(pict);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrPictureUtils.cpp | 23 CollectLayers(const SkPicture* pict, GrAccelData* accelData) 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) { 246 if (NULL == pict || pict->cullRect().isEmpty()) { 253 static_cast<const GrAccelData*>(pict->EXPERIMENTAL_getAccelData(key)) [all...] |
GrPictureUtils.h | 78 const GrAccelData* GPUOptimize(const SkPicture* pict);
|
/external/skia/gm/ |
pathopsskpclip.cpp | 54 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 58 canvas->drawPicture(pict); 64 canvas->drawPicture(pict);
|
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/ |
CopyTilesRenderer.h | 30 virtual void init(const SkPicture* pict,
|
CopyTilesRenderer.cpp | 29 void CopyTilesRenderer::init(const SkPicture* pict, const SkString* writePath, 34 SkASSERT(pict != NULL); 37 fPicture.reset(pict)->ref();
|
PictureBenchmark.h | 31 void run(SkPicture* pict);
|
/external/skia/src/gpu/ |
GrPictureUtils.cpp | 218 GrGatherCanvas(GrGatherDevice* device, const SkPicture* pict) 220 , fPicture(pict) { 270 void GatherGPUInfo(const SkPicture* pict, GPUAccelData* accelData) { 271 if (0 == pict->width() || 0 == pict->height()) { 275 GrGatherDevice device(pict->width(), pict->height(), pict, accelData, 0); 276 GrGatherCanvas canvas(&device, pict);
|
GrPictureUtils.h | 77 void GatherGPUInfo(const SkPicture* pict, GPUAccelData* accelData);
|
/external/chromium_org/third_party/skia/include/utils/ |
SkPictureUtils.h | 29 static SkData* GatherPixelRefs(const SkPicture* pict, const SkRect& area); 80 static void GatherPixelRefsAndRects(SkPicture* pict, SkPixelRefContainer* prCont);
|
/external/skia/include/utils/ |
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/ |
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/ |
SamplePicture.cpp | 138 SkAutoTUnref<SkPicture> pict(recorder.endRecording()); 144 canvas->drawPicture(pict); 151 canvas->drawPicture(pict); 158 canvas->drawPicture(pict); 165 dumpCanvas.drawPicture(pict);
|