Home
last modified time | relevance | path

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

12

/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/skia/src/gpu/
DGrCopyRenderTask.cpp46 : fSrc(std::move(src)), fSrcRect(srcRect), fDstPoint(dstPoint), fOrigin(origin) { in GrCopyRenderTask()
51 if (!fSrc) { in gatherProxyIntervals()
58 alloc->addInterval(fSrc.get(), alloc->curOp(), alloc->curOp(), in gatherProxyIntervals()
68 SkASSERT(fSrc); in onMakeClosed()
77 if (!fSrc) { in onExecute()
82 if (!fSrc->isInstantiated() || !dstProxy->isInstantiated()) { in onExecute()
85 GrSurface* srcSurface = fSrc->peekSurface(); in onExecute()
DGrCopyRenderTask.h34 void onMakeSkippable() override { fSrc.reset(); } in onMakeSkippable()
35 bool onIsUsed(GrSurfaceProxy* proxy) const override { return proxy == fSrc.get(); } in onIsUsed()
45 fn(fSrc.get(), GrMipmapped::kNo); in visitProxies_debugOnly()
49 sk_sp<GrSurfaceProxy> fSrc; variable
/external/skia/bench/
DRecordingBench.cpp17 fSrc = rec.finishRecordingAsPicture(); in PictureCentricBench()
29 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize()
30 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize()
44 fSrc->playback(recorder.beginRecording(fSrc->cullRect(), fUseBBH ? &factory : nullptr)); in onDraw()
DSkSLBench.cpp60 , fSrc(src) in SkSLCompileBench()
83 fSrc, in onDraw()
100 SkSL::String fSrc; member in SkSLCompileBench
113 , fSrc(src) in SkSLParseBench()
134 SkSL::Parser parser(fSrc.c_str(), fSrc.length(), *fCompiler.irGenerator().symbolTable(), in onDraw()
146 SkSL::String fSrc; member in SkSLParseBench
DReadPixBench.cpp75 fSrc.allocPixels(info); in onDelayedSetup()
76 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
90 fSrc.peekPixels(&src); in onDraw()
98 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.cpp87 SkASSERT(numRows > 0 && fCurrRow < fSrc.height()); in encodeRows()
88 if (numRows <= 0 || fCurrRow >= fSrc.height()) { in encodeRows()
92 if (fCurrRow + numRows > fSrc.height()) { in encodeRows()
93 numRows = fSrc.height() - fCurrRow; in encodeRows()
98 fCurrRow = fSrc.height(); in encodeRows()
DSkJpegEncoder.cpp218 const size_t srcBytes = SkColorTypeBytesPerPixel(fSrc.colorType()) * fSrc.width(); in onEncodeRows()
219 const size_t jpegSrcBytes = fEncoderMgr->cinfo()->input_components * fSrc.width(); in onEncodeRows()
221 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows()
228 fSrc.width(), in onEncodeRows()
241 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
245 if (fCurrRow == fSrc.height()) { in onEncodeRows()
DSkPngEncoder.cpp435 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows()
438 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()
441 fSrc.width(), in onEncodeRows()
442 SkColorTypeBytesPerPixel(fSrc.colorType())); in onEncodeRows()
446 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
450 if (fCurrRow == fSrc.height()) { in onEncodeRows()
/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()
DSkComposeShader.h18 , fSrc(std::move(src)) in SkComposeShader()
48 sk_sp<SkShader> fSrc; variable
/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/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/include/encode/
DSkEncoder.h32 : fSrc(src) in SkEncoder()
37 const SkPixmap& fSrc; variable
/external/skia/include/encode/
DSkEncoder.h32 : fSrc(src) in SkEncoder()
37 const SkPixmap& fSrc; variable
/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/src/shaders/
DSkComposeShader.cpp129 buffer.writeFlattenable(fSrc.get()); in flatten()
136 float* res0 = append_two_shaders(rec, fDst.get(), fSrc.get()); in onAppendStages()
162 (s = program_or_paint(fSrc, p, device,local, paint, mats,localM, dst, uniforms,alloc))) in onProgram()
183 auto fpB = as_fp(args, fSrc.get()); in asFragmentProcessor()
DSkComposeShader.h18 , fSrc(std::move(src)) in SkShader_Blend()
38 sk_sp<SkShader> fSrc; variable
/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