Home
last modified time | relevance | path

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

123

/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()
83 fSrc->playback(serializer.beginWrite(fSrc->cullRect(), &stream)); in onDraw()
DReadPixBench.cpp78 fSrc.allocPixels(info); in onDelayedSetup()
79 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
95 fSrc.peekPixels(&src); in onDraw()
103 SkBitmap fSrc, fDst; member in PixmapOrientBench
DColorCodecBench.cpp50 void* src = fSrc.get(); in xformOnly()
92 fSrc.reset(fSrcInfo.computeMinByteSize()); in onDelayedSetup()
94 codec->getPixels(fSrcInfo, fSrc.get(), fSrcInfo.minRowBytes()); in onDelayedSetup()
/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()
DReadPixBench.cpp78 fSrc.allocPixels(info); in onDelayedSetup()
79 fSrc.eraseColor(SK_ColorBLACK); in onDelayedSetup()
95 fSrc.peekPixels(&src); in onDraw()
103 SkBitmap fSrc, fDst; member in PixmapOrientBench
DColorCodecBench.cpp50 void* src = fSrc.get(); in xformOnly()
92 fSrc.reset(fSrcInfo.computeMinByteSize()); in onDelayedSetup()
94 codec->getPixels(fSrcInfo, fSrc.get(), fSrcInfo.minRowBytes()); in onDelayedSetup()
/external/skqp/src/images/
DSkImageEncoder.cpp65 SkASSERT(numRows > 0 && fCurrRow < fSrc.height()); in encodeRows()
66 if (numRows <= 0 || fCurrRow >= fSrc.height()) { in encodeRows()
70 if (fCurrRow + numRows > fSrc.height()) { in encodeRows()
71 numRows = fSrc.height() - fCurrRow; in encodeRows()
76 fCurrRow = fSrc.height(); in encodeRows()
DSkJpegEncoder.cpp233 const void* srcRow = fSrc.addr(0, fCurrRow); in onEncodeRows()
237 fEncoderMgr->proc()((char*)fStorage.get(), (const char*)srcRow, fSrc.width(), in onEncodeRows()
243 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
247 if (fCurrRow == fSrc.height()) { in onEncodeRows()
/external/skia/src/images/
DSkImageEncoder.cpp65 SkASSERT(numRows > 0 && fCurrRow < fSrc.height()); in encodeRows()
66 if (numRows <= 0 || fCurrRow >= fSrc.height()) { in encodeRows()
70 if (fCurrRow + numRows > fSrc.height()) { in encodeRows()
71 numRows = fSrc.height() - fCurrRow; in encodeRows()
76 fCurrRow = fSrc.height(); in encodeRows()
/external/skqp/src/shaders/
DSkComposeShader.cpp57 buffer.writeFlattenable(fSrc.get()); in flatten()
63 return MakeCompose(xformer->apply(fDst.get()), xformer->apply(fSrc.get()), in onMakeColorSpace()
75 rec->fShaderB = fSrc.get(); in asACompose()
89 if (!as_SB(fSrc)->appendStages(rec)) { in onAppendStages()
135 std::unique_ptr<GrFragmentProcessor> fpB(as_SB(fSrc)->asFragmentProcessor(args)); in asFragmentProcessor()
152 as_SB(fSrc)->toString(str); in toString()
/external/skia/src/shaders/
DSkComposeShader.cpp57 buffer.writeFlattenable(fSrc.get()); in flatten()
63 return MakeCompose(xformer->apply(fDst.get()), xformer->apply(fSrc.get()), in onMakeColorSpace()
75 rec->fShaderB = fSrc.get(); in asACompose()
89 if (!as_SB(fSrc)->appendStages(rec)) { in onAppendStages()
135 std::unique_ptr<GrFragmentProcessor> fpB(as_SB(fSrc)->asFragmentProcessor(args)); in asFragmentProcessor()
152 as_SB(fSrc)->toString(str); in toString()
/external/skia/src/gpu/effects/
DGrMagnifierEffect.h39 , fSrc(std::move(src)) in GrMagnifierEffect()
46 , fSrcCoordTransform(SkMatrix::I(), fSrc.proxy()) { in GrMagnifierEffect()
47 this->addTextureSampler(&fSrc); in GrMagnifierEffect()
54 TextureSampler fSrc; variable
DGrMagnifierEffect.cpp146 if (fSrc != that.fSrc) return false; in onIsEqual()
157 , fSrc(src.fSrc) in GrMagnifierEffect()
165 this->addTextureSampler(&fSrc); in GrMagnifierEffect()
/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h25 func(fSrc.get()); in visitProxies()
33 fSrc.get()->uniqueID().asUInt(), in dumpInfo()
43 , fSrc(src) in GrCopySurfaceOp()
58 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc; variable
DGrCopySurfaceOp.cpp80 if (!fSrc.get()->instantiate(state->resourceProvider())) { in onExecute()
84 state->commandBuffer()->copy(fSrc.get()->priv().peekSurface(), fSrc.get()->origin(), in onExecute()
/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.h25 func(fSrc.get()); in visitProxies()
33 fSrc.get()->uniqueID().asUInt(), in dumpInfo()
43 , fSrc(src) in GrCopySurfaceOp()
58 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc; variable
DGrCopySurfaceOp.cpp83 if (!fSrc.get()->instantiate(state->resourceProvider())) { in onExecute()
87 state->commandBuffer()->copy(fSrc.get()->priv().peekSurface(), fSrc.get()->origin(), in onExecute()
/external/skqp/src/gpu/effects/
DGrMagnifierEffect.h39 , fSrc(std::move(src)) in GrMagnifierEffect()
46 , fSrcCoordTransform(SkMatrix::I(), fSrc.proxy()) { in GrMagnifierEffect()
47 this->addTextureSampler(&fSrc); in GrMagnifierEffect()
54 TextureSampler fSrc; variable
DGrMagnifierEffect.cpp146 if (fSrc != that.fSrc) return false; in onIsEqual()
157 , fSrc(src.fSrc) in GrMagnifierEffect()
165 this->addTextureSampler(&fSrc); in GrMagnifierEffect()
/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/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.h44 : fSrc(src), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
46 GrSurface* fSrc; member
147 : fSrc(src) in CopyInfo()
153 GrSurface* fSrc; member
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.h44 : fSrc(src), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
46 GrSurface* fSrc; member
147 : fSrc(src), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
149 GrSurface* fSrc; member
/external/skia/include/encode/
DSkEncoder.h31 : fSrc(src) in SkEncoder()
36 const SkPixmap& fSrc; variable
/external/skqp/include/encode/
DSkEncoder.h31 : fSrc(src) in SkEncoder()
36 const SkPixmap& fSrc; variable

123