Home
last modified time | relevance | path

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

/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/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
DSkSLBench.cpp59 , fSrc(src) in SkSLCompileBench()
84 fSrc).program(); in onDraw()
100 SkSL::String fSrc; member in SkSLCompileBench
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()
DRecordingBench.h24 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()
/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()
Dxfermodes2.cpp73 p.setShader(fSrc); in onDraw()
126 fSrc = srcBmp.makeShader(SkSamplingOptions()); in onOnceBeforeDraw()
147 sk_sp<SkShader> fSrc; member in skiagm::Xfermodes2GM
/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/skia/samplecode/
DSamplePathClip.cpp247 SkPoint fSrc[100]; member in EdgeClipView::DragPolyClick
253 SkASSERT((size_t)count <= SK_ARRAY_COUNT(fSrc)); in DragPolyClick()
254 memcpy(fSrc, poly, count * sizeof(SkPoint)); in DragPolyClick()
260 fPoly[i].set(snap(fSrc[i].x() + dx), snap(fSrc[i].y() + dy)); in handleMove()
/third_party/skia/src/core/
DSkBlendMode.cpp49 SkBlendModeCoeff fSrc; in SkBlendMode_AsCoeff() member
79 *src = kCoeffs[static_cast<int>(mode)].fSrc; in SkBlendMode_AsCoeff()
DSkStroke.cpp1397 AutoTmpPath(const SkPath& src, SkPath** dst) : fSrc(src) { in AutoTmpPath()
1409 fTmpDst.swap(*const_cast<SkPath*>(&fSrc)); in ~AutoTmpPath()
1415 const SkPath& fSrc; member in AutoTmpPath
/third_party/skia/tools/debugger/
DDrawCommand.cpp1284 , fSrc(src) in DrawImageRectCommand()
1291 canvas->drawImageRect(fImage.get(), fSrc, fDst, fSampling, fPaint.getMaybeNull(), fConstraint); in execute()
1312 MakeJsonRect(writer, fSrc); in toJSON()
1339 , fSrc(src) in DrawImageRectLayerCommand()
1347 …canvas->drawImageRect(snapshot.get(), fSrc, fDst, SkSamplingOptions(), fPaint.getMaybeNull(), fCon… in execute()
1370 MakeJsonRect(writer, fSrc); in toJSON()
DDrawCommand.h319 SkRect fSrc; variable
349 SkRect fSrc; variable