/external/skia/bench/ |
RecordingBench.cpp | 27 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), 28 SkScalarCeilToInt(fSrc->cullRect().height())); 33 const SkScalar w = fSrc->cullRect().width(), 34 h = fSrc->cullRect().height();
|
/external/skia/tools/ |
pinspect.cpp | 42 printf("picture cullRect: [%f %f %f %f]\n", 43 pic->cullRect().fLeft, pic->cullRect().fTop, 44 pic->cullRect().fRight, pic->cullRect().fBottom);
|
gpuveto.cpp | 55 picture->playback(recorder.beginRecording(picture->cullRect().width(), 56 picture->cullRect().height(),
|
dump_record.cpp | 57 const int w = SkScalarCeilToInt(src->cullRect().width()); 58 const int h = SkScalarCeilToInt(src->cullRect().height());
|
/frameworks/base/core/jni/android/graphics/ |
Picture.cpp | 75 const SkIRect cullRect = skPicture->cullRect().roundOut(); 76 newPict->mWidth = cullRect.width(); 77 newPict->mHeight = cullRect.height(); 122 SkRect cullRect = mPicture->cullRect(); 124 SkASSERT(cullRect == myRect);
|
/external/skia/src/core/ |
SkPathEffect.cpp | 78 SkStrokeRec* rec, const SkRect* cullRect) const { 87 if (fPE1->filterPath(&tmp, src, rec, cullRect)) { 90 return fPE0->filterPath(dst, *ptr, rec, cullRect); 115 SkStrokeRec* rec, const SkRect* cullRect) const { 117 return fPE0->filterPath(dst, src, rec, cullRect) | 118 fPE1->filterPath(dst, src, rec, cullRect);
|
SkRecordDraw.h | 21 void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]); 26 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[],
|
SkPictureRecorder.cpp | 27 SkCanvas* SkPictureRecorder::beginRecording(const SkRect& cullRect, 30 fCullRect = cullRect; 34 fBBH.reset((*bbhFactory)(cullRect)); 44 fRecorder->reset(fRecord.get(), cullRect, dpm, &fMiniRecorder); 99 SkPicture* SkPictureRecorder::endRecordingAsPicture(const SkRect& cullRect) { 100 fCullRect = cullRect;
|
SkBigPicture.cpp | 35 const bool useBBH = !clipBounds.contains(this->cullRect()); 64 SkRect SkBigPicture::cullRect() const { return fCullRect; }
|
SkBigPicture.h | 47 SkRect cullRect() const override;
|
SkPictureShader.cpp | 100 , fTile(tile ? *tile : picture->cullRect()) 107 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { 160 SkASSERT(fPicture && !fPicture->cullRect().isEmpty()); 303 fPicture->cullRect().fLeft, 304 fPicture->cullRect().fTop, 305 fPicture->cullRect().fRight, 306 fPicture->cullRect().fBottom);
|
SkMiniRecorder.cpp | 25 SkRect cullRect() const override { return SkRect::MakeEmpty(); } 45 SkRect cullRect() const override { return fCull; }
|
/external/skia/gm/ |
distantclip.cpp | 49 pict->playback(recorder.beginRecording(pict->cullRect().width(), 50 pict->cullRect().height(),
|
pictureimagefilter.cpp | 67 SkPictureImageFilter::CreateForLocalSpace(fPicture, fPicture->cullRect(), 70 SkPictureImageFilter::CreateForLocalSpace(fPicture, fPicture->cullRect(),
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/ |
org_skia_canvasproof_CreateSkiaPicture.cpp | 35 SkRect bounds = p->cullRect();
|
org_skia_canvasproof_GaneshPictureRenderer.cpp | 48 SkRect cullRect = picture->cullRect(); 49 canvas->clipRect(cullRect); 136 rect = picture->cullRect();
|
/external/skia/samplecode/ |
SamplePictFile.cpp | 175 pic->playback(recorder.beginRecording(pic->cullRect().width(), 176 pic->cullRect().height(), 204 pic->playback(recorder.beginRecording(pic->cullRect().width(), 205 pic->cullRect().height(),
|
/external/skia/tools/VisualBench/ |
VisualSKPBench.cpp | 17 , fCullRect(fPic->cullRect().roundOut())
|
/external/skia/src/utils/ |
SkDashPath.cpp | 94 const SkRect* cullRect, SkScalar intervalLength, 96 if (nullptr == cullRect) { 105 SkRect bounds = *cullRect; 223 const SkRect* cullRect, const SkScalar aIntervals[], 238 if (cull_path(src, *rec, cullRect, intervalLength, &cullPathStorage)) { 322 const SkRect* cullRect, const SkPathEffect::DashInfo& info) { 328 return FilterDashPath(dst, src, rec, cullRect, info.fIntervals, info.fCount, initialDashLength,
|
SkDumpCanvas.cpp | 445 picture->cullRect().fLeft, picture->cullRect().fTop, 446 picture->cullRect().fRight, picture->cullRect().fBottom); 451 picture->cullRect().fLeft, picture->cullRect().fTop, 452 picture->cullRect().fRight, picture->cullRect().fBottom);
|
/external/skia/src/effects/ |
SkPictureImageFilter.cpp | 19 , fCropRect(picture ? picture->cullRect() : SkRect::MakeEmpty()) 172 fPicture->cullRect().fLeft, fPicture->cullRect().fTop, 173 fPicture->cullRect().fRight, fPicture->cullRect().fBottom);
|
SkDashPathEffect.cpp | 40 SkStrokeRec* rec, const SkRect* cullRect) const { 41 return SkDashPath::FilterDashPath(dst, src, rec, cullRect, fIntervals, fCount, 60 const SkMatrix& ctm, const SkRect* cullRect, 62 if (nullptr == cullRect) { 74 SkRect bounds = *cullRect; 77 // cullRect is in device space while pts are in the local coordinate system 163 const SkRect* cullRect) const { 198 if (!cull_line(pts, rec, matrix, cullRect, fIntervalLength)) {
|
/external/skia/experimental/nanomsg/ |
picture_demo.cpp | 85 SkRandom rand(picture->cullRect().width() * picture->cullRect().height()); 86 SkScalar r = rand.nextRangeScalar(0, picture->cullRect().width()), 87 b = rand.nextRangeScalar(0, picture->cullRect().height()),
|
/external/skia/include/core/ |
SkPicture.h | 110 virtual SkRect cullRect() const = 0;
|
SkPictureRecorder.h | 82 * @param cullRect the new culling rectangle to use as the overall bound for BBH generation 86 SkPicture* SK_WARN_UNUSED_RESULT endRecordingAsPicture(const SkRect& cullRect);
|