Home
last modified time | relevance | path

Searched refs:fSrc (Results 1 – 23 of 23) sorted by relevance

/external/skia/bench/
DRecordingBench.cpp19 fSrc = rec.finishRecordingAsPicture(); in PictureCentricBench()
31 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize()
32 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize()
45 r.reset(fDL.get(), fSrc->cullRect().roundOut()); in RecordingBench()
46 fSrc->playback(&r); in RecordingBench()
55 rec.reset(&dl, fSrc->cullRect().roundOut()); in onDraw()
63 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr)); in onDraw()
83 fSrc->playback(serializer.beginWrite(fSrc->cullRect(), &stream)); in onDraw()
DXferF16Bench.cpp34 fSrc[i] = {{ 1, 1, 1, 1 }}; in XferF16Bench()
54 fProcN(fMode, fDst, fSrc, N, fAA); in onDraw()
56 fProc1(fMode, fDst, fSrc, N, fAA); in onDraw()
73 SkPM4f fSrc[N]; member in XferF16Bench
DBitmapScaleBench.cpp121 SkBitmap fSrc, fDst; member in PixmapScalerBench
140 fSrc.allocN32Pixels(640, 480); in onDelayedSetup()
141 fSrc.eraseColor(SK_ColorWHITE); in onDelayedSetup()
147 fSrc.peekPixels(&src); in onDraw()
DXfer4fBench.cpp35 fSrc[i] = {{ 1, 1, 1, 1 }}; in XferD32Bench()
55 fProcN(fMode, fDst, fSrc, N, fAA); in onDraw()
57 fProc1(fMode, fDst, fSrc, N, fAA); in onDraw()
74 SkPM4f fSrc[N]; member in XferD32Bench
DColorCodecBench.cpp53 void* src = fSrc.get(); in xformOnly()
97 fSrc.reset(fSrcInfo.getSafeSize(fSrcInfo.minRowBytes())); in onDelayedSetup()
99 codec->getPixels(fSrcInfo, fSrc.get(), fSrcInfo.minRowBytes()); in onDelayedSetup()
DMatrixBench.cpp279 SkPoint fSrc[N], fDst[N]; member in MapPointsMatrixBench
286 fSrc[i].set(rand.nextSScalar1(), rand.nextSScalar1()); in MapPointsMatrixBench()
292 fM.mapPoints(fDst, fSrc, N); in performTest()
DColorCodecBench.h35 SkAutoMalloc fSrc; variable
DRecordingBench.h25 sk_sp<const SkPicture> fSrc;
DMathBench.cpp32 float fSrc[kBuffer], fDst[kBuffer]; member in MathBench
39 fSrc[i] = rand.nextSScalar1(); in MathBench()
61 this->performTest(fDst, fSrc, kBuffer); in onDraw()
/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h40 fDst.get(), fSrc.get(), fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, in dumpInfo()
49 : INHERITED(ClassID()), fDst(dst), fSrc(src), fSrcRect(srcRect), fDstPoint(dstPoint) { in GrCopySurfaceOp()
62 state->gpu()->copySurface(fDst.get(), fSrc.get(), fSrcRect, fDstPoint); in onExecute()
71 GrPendingIOResource<GrSurface, kRead_GrIOType> fSrc; variable
/external/skia/tests/
DPackBitsTest.cpp26 const uint8_t* fSrc; in test_pack8() member
39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8()
50 memcmp(gTests[i].fSrc, src, in test_pack8()
DBlitRowTest.cpp111 SkColor fSrc; in test_00_FF() member
136 srcBM.eraseColor(gSrcRec[j].fSrc); in test_00_FF()
142 if (gSrcRec[j].fSrc != 0 && blend) { in test_00_FF()
/external/skia/gm/
Dxfermodes2.cpp60 p.setShader(fSrc); in onDraw()
114 fSrc = SkShader::MakeBitmapShader(srcBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
137 sk_sp<SkShader> fSrc; member in skiagm::Xfermodes2GM
/external/skia/samplecode/
DSamplePathClip.cpp257 SkPoint fSrc[100]; member in EdgeClipView::DragPolyClick
264 SkASSERT((size_t)count <= SK_ARRAY_COUNT(fSrc)); in DragPolyClick()
265 memcpy(fSrc, poly, count * sizeof(SkPoint)); in DragPolyClick()
271 fPoly[i].set(snap(fSrc[i].x() + dx), snap(fSrc[i].y() + dy)); in handleMove()
/external/skia/src/core/
DSkLinearBitmapPipeline.cpp153 : fSrc{src}, fWidth{width} { } in RGBA8888UnitRepeatSrc()
208 return &fSrc[fWidth * y + x]; in pixelAddress()
210 const uint32_t* const fSrc; member in __anon16939db40111::RGBA8888UnitRepeatSrc
223 : fSrc{src}, fWidth{width} { } in RGBA8888UnitRepeatSrcOver()
276 return &fSrc[fWidth * y + x]; in pixelAddress()
285 const uint32_t* const fSrc; member in __anon16939db40111::RGBA8888UnitRepeatSrcOver
DSkColorSpaceXform_Base.h87 const void* fSrc; member
DSkLinearBitmapPipeline_sample.h239 : fSrc{static_cast<const Element*>(srcPixmap.addr())} in PixelAccessor()
281 return this->getPixelFromRow(fSrc, index); in getPixelAt()
284 const void* row(int y) const override { return fSrc + y * fWidth; } in row()
287 const Element* const fSrc;
DSkColorSpaceXform.cpp1154 loadTables.fSrc = src; in applyPipeline()
1166 loadTables.fSrc = src; in applyPipeline()
1197 loadTables.fSrc = src; in applyPipeline()
1215 loadTables.fSrc = src; in applyPipeline()
DSkPictureData.cpp366 uint32_t fSrc; in pictInfoFlagsToReadBufferFlags() member
376 if (pictInfoFlags & gSD[i].fSrc) { in pictInfoFlagsToReadBufferFlags()
DSkStroke.cpp1340 AutoTmpPath(const SkPath& src, SkPath** dst) : fSrc(src) { in AutoTmpPath()
1352 fTmpDst.swap(*const_cast<SkPath*>(&fSrc)); in ~AutoTmpPath()
1358 const SkPath& fSrc; member in AutoTmpPath
/external/skia/tools/debugger/
DSkDrawCommand.h334 const SkRect* srcRect() const { return fSrc.isEmpty() ? nullptr : &fSrc; } in srcRect()
335 void setSrcRect(const SkRect& src) { fSrc = src; } in setSrcRect()
345 SkRect fSrc; variable
399 SkTLazy<SkRect> fSrc; variable
DSkDrawCommand.cpp2029 fSrc = *src; in SkDrawBitmapRectCommand()
2031 fSrc.setEmpty(); in SkDrawBitmapRectCommand()
2068 if (!fSrc.isEmpty()) { in toJSON()
2069 result[SKDEBUGCANVAS_ATTRIBUTE_SRC] = MakeJsonRect(fSrc); in toJSON()
2273 fSrc.set(*src); in SkDrawImageRectCommand()
2292 canvas->legacy_drawImageRect(fImage.get(), fSrc.getMaybeNull(), fDst, in execute()
2311 if (fSrc.isValid()) { in toJSON()
2312 result[SKDEBUGCANVAS_ATTRIBUTE_SRC] = MakeJsonRect(*fSrc.get()); in toJSON()
/external/skia/src/opts/
DSkRasterPipeline_opts.h671 auto ptr = (const uint32_t*)ctx->fSrc + x; in STAGE_CTX()
682 auto ptr = (const uint64_t*)ctx->fSrc + x; in STAGE_CTX()
701 auto ptr = (const uint16_t*)ctx->fSrc + 3*x; in STAGE_CTX()