Home
last modified time | relevance | path

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

12

/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()
DReadPixBench.cpp78 fSrc.allocPixels(info); in onDelayedSetup()
79 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
93 fSrc.peekPixels(&src); in onDraw()
101 SkBitmap fSrc, fDst; member in PixmapOrientBench
/external/skqp/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()
DReadPixBench.cpp78 fSrc.allocPixels(info); in onDelayedSetup()
79 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
93 fSrc.peekPixels(&src); in onDraw()
101 SkBitmap fSrc, fDst; member in PixmapOrientBench
/external/skqp/src/images/
DSkImageEncoder.cpp62 SkASSERT(numRows > 0 && fCurrRow < fSrc.height()); in encodeRows()
63 if (numRows <= 0 || fCurrRow >= fSrc.height()) { in encodeRows()
67 if (fCurrRow + numRows > fSrc.height()) { in encodeRows()
68 numRows = fSrc.height() - fCurrRow; in encodeRows()
73 fCurrRow = fSrc.height(); in encodeRows()
DSkJpegEncoder.cpp217 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows()
223 fSrc.width(), in onEncodeRows()
229 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
233 if (fCurrRow == fSrc.height()) { in onEncodeRows()
/external/skia/src/images/
DSkImageEncoder.cpp79 SkASSERT(numRows > 0 && fCurrRow < fSrc.height()); in encodeRows()
80 if (numRows <= 0 || fCurrRow >= fSrc.height()) { in encodeRows()
84 if (fCurrRow + numRows > fSrc.height()) { in encodeRows()
85 numRows = fSrc.height() - fCurrRow; in encodeRows()
90 fCurrRow = fSrc.height(); in encodeRows()
DSkJpegEncoder.cpp217 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows()
223 fSrc.width(), in onEncodeRows()
229 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
233 if (fCurrRow == fSrc.height()) { in onEncodeRows()
/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h28 void visitProxies(const VisitProxyFunc& func, VisitorType) const override { func(fSrc.get()); } in visitProxies()
36 fSrc.get()->uniqueID().asUInt(), in dumpInfo()
49 , fSrc(src) in GrCopySurfaceOp()
62 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc; variable
DGrCopySurfaceOp.cpp90 if (!fSrc.get()->instantiate(state->resourceProvider())) { in onExecute()
94 state->commandBuffer()->copy(fSrc.get()->peekSurface(), fSrc.get()->origin(), fSrcRect, in onExecute()
/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.h26 void visitProxies(const VisitProxyFunc& func, VisitorType) const override { func(fSrc.get()); } in visitProxies()
34 fSrc.get()->uniqueID().asUInt(), in dumpInfo()
47 , fSrc(src) in GrCopySurfaceOp()
60 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc; variable
DGrCopySurfaceOp.cpp90 if (!fSrc.get()->instantiate(state->resourceProvider())) { in onExecute()
94 state->commandBuffer()->copy(fSrc.get()->peekSurface(), fSrc.get()->origin(), fSrcRect, in onExecute()
/external/skqp/src/shaders/
DSkComposeShader.cpp56 buffer.writeFlattenable(fSrc.get()); in flatten()
62 return MakeCompose(xformer->apply(fDst.get()), xformer->apply(fSrc.get()), in onMakeColorSpace()
74 rec->fShaderB = fSrc.get(); in asACompose()
88 if (!as_SB(fSrc)->appendStages(rec)) { in onAppendStages()
134 std::unique_ptr<GrFragmentProcessor> fpB(as_SB(fSrc)->asFragmentProcessor(args)); in asFragmentProcessor()
/external/skia/src/shaders/
DSkComposeShader.cpp56 buffer.writeFlattenable(fSrc.get()); in flatten()
62 return MakeCompose(xformer->apply(fDst.get()), xformer->apply(fSrc.get()), in onMakeColorSpace()
74 rec->fShaderB = fSrc.get(); in asACompose()
94 if (!as_SB(fSrc)->appendStages(rec)) { in onAppendStages()
131 std::unique_ptr<GrFragmentProcessor> fpB(as_SB(fSrc)->asFragmentProcessor(args)); in asFragmentProcessor()
/external/skqp/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()
/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()
/external/skia/src/gpu/effects/
DGrMagnifierEffect.h38 , fSrc(std::move(src)) in GrMagnifierEffect()
45 , fSrcCoordTransform(SkMatrix::I(), fSrc.proxy()) { in GrMagnifierEffect()
54 TextureSampler fSrc; variable
DGrMagnifierEffect.cpp143 if (fSrc != that.fSrc) return false; in onIsEqual()
154 , fSrc(src.fSrc) in GrMagnifierEffect()
169 return IthTextureSampler(index, fSrc); in onTextureSampler()
/external/skqp/src/gpu/effects/
DGrMagnifierEffect.h38 , fSrc(std::move(src)) in GrMagnifierEffect()
45 , fSrcCoordTransform(SkMatrix::I(), fSrc.proxy()) { in GrMagnifierEffect()
54 TextureSampler fSrc; variable
DGrMagnifierEffect.cpp145 if (fSrc != that.fSrc) return false; in onIsEqual()
156 , fSrc(src.fSrc) in GrMagnifierEffect()
171 return IthTextureSampler(index, fSrc); in onTextureSampler()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.h47 : fSrc(src), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
49 GrSurface* fSrc; member
162 : fSrc(src) in CopyInfo()
168 GrSurface* fSrc; member
/external/skia/include/encode/
DSkEncoder.h32 : fSrc(src) in SkEncoder()
37 const SkPixmap& fSrc; variable
/external/skqp/include/encode/
DSkEncoder.h32 : fSrc(src) in SkEncoder()
37 const SkPixmap& fSrc; variable
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.h47 : fSrc(sk_ref_sp(src)), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
49 sk_sp<GrSurface> fSrc; member
162 : fSrc(sk_ref_sp(src)) in CopyInfo()
168 sk_sp<GrSurface> fSrc; member
/external/skqp/gm/
Dxfermodes2.cpp58 p.setShader(fSrc); in onDraw()
112 fSrc = SkShader::MakeBitmapShader(srcBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
135 sk_sp<SkShader> fSrc; member in skiagm::Xfermodes2GM

12