Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/
DGrCopyRenderTask.cpp47 : fSrc(std::move(src)), fSrcRect(srcRect), fDstPoint(dstPoint), fOrigin(origin) { in GrCopyRenderTask()
52 if (!fSrc) { in gatherProxyIntervals()
59 alloc->addInterval(fSrc.get(), alloc->curOp(), alloc->curOp(), in gatherProxyIntervals()
69 SkASSERT(fSrc); in onMakeClosed()
78 if (!fSrc) { in onExecute()
83 if (!fSrc->isInstantiated() || !dstProxy->isInstantiated()) { in onExecute()
86 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 func(fSrc.get(), GrMipmapped::kNo); in visitProxies_debugOnly()
49 sk_sp<GrSurfaceProxy> fSrc; variable
/third_party/flutter/skia/bench/
DSkSLInterpreterBench.cpp17 , fSrc(src) in SkSLInterpreterCFBench()
33 auto program = compiler.convertProgram(SkSL::Program::kGeneric_Kind, fSrc, settings); in onDelayedSetup()
66 SkSL::String fSrc; member in SkSLInterpreterCFBench
181 fSrc.resize(fGroups * fValues); in onDelayedSetup()
185 for (float& x : fSrc) { in onDelayedSetup()
190 SkAssertResult(fByteCode->run(fMain, fSrc.data(), fDst.data(), fGroups, nullptr, 0)); in onDelayedSetup()
200 SkAssertResult(fByteCode->run(fMain, fSrc.data(), fDst.data(), fGroups, nullptr, 0)); in onDraw()
212 std::vector<float> fSrc; member in SkSLInterpreterSortBench
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.cpp14 , fSrc(src) {} in SkSLBench()
29 fSrc, in onDraw()
42 SkSL::String fSrc; member in SkSLBench
DSkVMBench.cpp34 fSrc.resize(fPixels, 0x7f123456); // Arbitrary non-opaque non-transparent value. in onDelayedSetup()
43 fSrcCtx = { fSrc.data(), 0 }; in onDelayedSetup()
61 SkOpts::blit_row_s32a_opaque(fDst.data(), fSrc.data(), fPixels, 0xff); in onDraw()
65 fProgram.eval(fPixels, fSrc.data(), fDst.data()); in onDraw()
73 std::vector<uint32_t> fSrc, member in SkVMBench
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
/third_party/flutter/skia/src/shaders/
DSkComposeShader.h19 , fSrc(std::move(src)) in SkShader_Blend()
36 sk_sp<SkShader> fSrc; variable
47 , fSrc(std::move(src)) in SkShader_Lerp()
66 sk_sp<SkShader> fSrc; variable
78 , fSrc(std::move(src)) in SkShader_LerpRed()
95 sk_sp<SkShader> fSrc; variable
DSkComposeShader.cpp130 buffer.writeFlattenable(fSrc.get()); in flatten()
137 float* res0 = append_two_shaders(rec, fDst.get(), fSrc.get()); in onAppendStages()
156 buffer.writeFlattenable(fSrc.get()); in flatten()
163 float* res0 = append_two_shaders(rec, fDst.get(), fSrc.get()); in onAppendStages()
183 buffer.writeFlattenable(fSrc.get()); in flatten()
200 float* res0 = append_two_shaders(rec, fDst.get(), fSrc.get()); in onAppendStages()
226 auto fpB = as_fp(args, fSrc.get()); in asFragmentProcessor()
238 auto fpB = as_fp(args, fSrc.get()); in asFragmentProcessor()
246 auto fpB = as_fp(args, fSrc.get()); in asFragmentProcessor()
/third_party/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()
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
/third_party/flutter/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.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()
/third_party/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.cpp440 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows()
443 (const uint8_t*)srcRow + (fSrc.width() << fSrc.shiftPerPixel())); in onEncodeRows()
446 fSrc.width(), in onEncodeRows()
447 SkColorTypeBytesPerPixel(fSrc.colorType())); in onEncodeRows()
451 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
455 if (fCurrRow == fSrc.height()) { in onEncodeRows()
/third_party/skia/gm/
Darithmode.cpp177 sk_sp<SkImage> fSrc, fDst, fChecker; member in Arithmode2GM
195 fSrc = make_src(W, H); in onOnceBeforeDraw()
213 canvas->drawImage(fSrc, 10, 10); in onDraw()
214 canvas->drawImage(fDst, 10, 10 + fSrc->height() + 10); in onDraw()
221 canvas->translate(10 + fSrc->width() + 10, 10); in onDraw()
228 canvas->drawImage(fSrc, 0, 0, sampling, &paint); in onDraw()
231 canvas->translate(0, 10 + fSrc->height()); in onDraw()
238 SkImageFilters::Image(fSrc, sampling))); in onDraw()
/third_party/flutter/skia/src/gpu/ops/
DGrCopySurfaceOp.h29 func(fSrc.get(), GrMipMapped::kNo); in visitProxies()
40 fSrc.get()->uniqueID().asUInt(), fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, in dumpInfo()
52 , fSrc(src) in GrCopySurfaceOp()
75 GrProxyPendingIO fSrc; variable
DGrCopySurfaceOp.cpp40 SkASSERT(fSrc.get()->isInstantiated()); in onExecute()
44 GrSurfaceProxy* src = fSrc.get(); in onExecute()
56 state->commandBuffer()->copy(fSrc.get()->peekSurface(), fSrcRect, fDstPoint); in onExecute()
/third_party/flutter/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()
/third_party/skia/src/shaders/
DSkComposeShader.h20 , fSrc(std::move(src)) in SkShader_Blend()
27 , fSrc(std::move(src)) in SkShader_Blend()
48 sk_sp<SkShader> fSrc; variable
DSkComposeShader.cpp98 buffer.writeFlattenable(fSrc.get()); in flatten()
132 float* res0 = append_two_shaders(rec, fDst.get(), fSrc.get()); in onAppendStages()
149 (s = as_SB(fSrc)->program(p, device,local, paint, mats,localM, cinfo, uniforms,alloc))) in onProgram()
170 auto fpB = as_SB(fSrc)->asFragmentProcessor(args); in asFragmentProcessor()
/third_party/skia/include/encode/
DSkEncoder.h32 : fSrc(src) in SkEncoder()
37 const SkPixmap& fSrc; variable
/third_party/flutter/skia/include/encode/
DSkEncoder.h32 : fSrc(src) in SkEncoder()
37 const SkPixmap& fSrc; variable
/third_party/flutter/skia/gm/
Dxfermodes2.cpp73 p.setShader(fSrc); in onDraw()
126 fSrc = srcBmp.makeShader(); in onOnceBeforeDraw()
147 sk_sp<SkShader> fSrc; member in skiagm::Xfermodes2GM

12