Home
last modified time | relevance | path

Searched refs:MakeSubset (Results 1 - 25 of 33) sorted by relevance

12

/third_party/skia/fuzz/oss_fuzz/
H A DFuzzSkRuntimeEffect.cpp36 sk_sp<SkData> codeBytes = SkData::MakeSubset(bytes.get(), 0, bytes->size() - kReservedBytes); in FuzzSkRuntimeEffect_Once()
46 SkData::MakeSubset(bytes.get(), bytes->size() - kReservedBytes, effect->uniformSize()); in FuzzSkRuntimeEffect_Once()
H A DFuzzAndroidCodec.cpp62 bytes = SkData::MakeSubset(bytes.get(), 1, size - 1); in LLVMFuzzerTestOneInput()
/third_party/skia/src/gpu/effects/
H A DGrBicubicEffect.cpp141 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::MakeSubset( in MakeSubset() function in GrBicubicEffect
153 fp = GrTextureEffect::MakeSubset( in MakeSubset()
160 std::unique_ptr<GrFragmentProcessor> GrBicubicEffect::MakeSubset( in MakeSubset() function in GrBicubicEffect
181 fp = GrTextureEffect::MakeSubset( in MakeSubset()
276 return MakeSubset(std::move(view), in TestCreate()
H A DGrBicubicEffect.h67 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view,
81 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view,
H A DGrTextureEffect.h47 * alwaysUseShaderTileMode is true then MakeSubset won't attempt to use HW wrap modes if the
50 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView,
65 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView,
75 * Like MakeSubset() but always uses kLinear filtering. MakeSubset() uses the subset rect
H A DGrGaussianConvolutionFragmentProcessor.cpp172 child = GrTextureEffect::MakeSubset(std::move(view),
181 child = GrTextureEffect::MakeSubset(std::move(view),
H A DGrYUVtoRGBEffect.cpp159 planeFPs[i] = GrTextureEffect::MakeSubset(std::move(view), in Make()
168 planeFPs[i] = GrTextureEffect::MakeSubset(std::move(view), in Make()
H A DGrTextureEffect.cpp185 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::MakeSubset(GrSurfaceProxyView view, in MakeSubset() function in GrTextureEffect
206 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::MakeSubset(GrSurfaceProxyView view, in MakeSubset() function in GrTextureEffect
H A DGrMatrixConvolutionEffect.cpp349 auto child = GrTextureEffect::MakeSubset(std::move(srcView), kPremul_SkAlphaType, SkMatrix::I(), in Make()
/third_party/skia/tests/
H A DDataRefTest.cpp191 sk_sp<SkData> r3(SkData::MakeSubset(r1.get(), 7, 6)); in DEF_TEST()
201 sk_sp<SkData> tmp(SkData::MakeSubset(r1.get(), strlen(str), 10)); in DEF_TEST()
203 tmp = SkData::MakeSubset(r1.get(), 0, 0); in DEF_TEST()
H A DGifTest.cpp321 data = SkData::MakeSubset(data.get(), 0, 446); in DEF_TEST()
365 data = SkData::MakeSubset(data.get(), 0, i); in DEF_TEST()
439 data = SkData::MakeSubset(data.get(), 0, 23); in DEF_TEST()
H A DCodecPartialTest.cpp165 file = SkData::MakeSubset(file.get(), 0, 153); in DEF_TEST()
473 file = SkData::MakeSubset(file.get(), 0, 80); in DEF_TEST()
/third_party/skia/src/image/
H A DSkImage.cpp350 return GrBicubicEffect::MakeSubset(std::move(view), in MakeFragmentProcessorFromView()
361 return GrBicubicEffect::MakeSubset(std::move(view), in MakeFragmentProcessorFromView()
386 return GrTextureEffect::MakeSubset(std::move(view), in MakeFragmentProcessorFromView()
394 return GrTextureEffect::MakeSubset(std::move(view), in MakeFragmentProcessorFromView()
/third_party/skia/include/core/
H A DSkData.h170 static sk_sp<SkData> MakeSubset(const SkData* src, size_t offset, size_t length);
/third_party/skia/src/effects/imagefilters/
H A DSkArithmeticImageFilter.cpp371 fp = GrTextureEffect::MakeSubset(std::move(backgroundView), in filterImageGPU()
391 auto fgFP = GrTextureEffect::MakeSubset(std::move(foregroundView), in filterImageGPU()
H A DSkBlendImageFilter.cpp287 fp = GrTextureEffect::MakeSubset(std::move(backgroundView), background->alphaType(), in filterImageGPU()
303 auto fgFP = GrTextureEffect::MakeSubset(std::move(foregroundView), foreground->alphaType(), in filterImageGPU()
H A DSkDisplacementMapImageFilter.cpp428 auto colorEffect = GrTextureEffect::MakeSubset(std::move(color), in Make()
/third_party/skia/src/codec/
H A DSkRawCodec.cpp258 data = SkData::MakeSubset(data.get(), 0, bytesRead);
276 data = SkData::MakeSubset(data.get(), 0, newSize);
381 data = SkData::MakeSubset(data.get(), 0, bytesRead);
H A DSkIcoCodec.cpp189 sk_sp<SkData> embeddedData(SkData::MakeSubset(data.get(), offset, size)); in MakeFromStream()
/third_party/skia/src/core/
H A DSkData.cpp173 sk_sp<SkData> SkData::MakeSubset(const SkData* src, size_t offset, size_t length) {
H A DSkGpuBlurUtils.cpp330 auto fp = GrTextureEffect::MakeSubset(std::move(srcView), srcAlphaType, SkMatrix::I(), in reexpand()
538 auto fp = GrTextureEffect::MakeSubset(std::move(srcView), in GaussianBlur()
/third_party/skia/gm/
H A Dgpu_blur_utils.cpp67 auto fp = GrTextureEffect::MakeSubset(src, in slow_blur()
273 auto fp = GrTextureEffect::MakeSubset(src, kPremul_SkAlphaType, SkMatrix::I(), in run()
H A Dlazytiling.cpp158 auto fp = GrTextureEffect::MakeSubset(src, kOpaque_SkAlphaType, mat, in draw_texture()
H A Dtexelsubset.cpp154 fp1 = GrTextureEffect::MakeSubset(view,
/third_party/skia/src/c/
H A Dsk_surface.cpp455 return ToData(SkData::MakeSubset(AsData(csrc), offset, length).release()); in sk_data_new_subset()

Completed in 19 milliseconds

12