Home
last modified time | relevance | path

Searched refs:fSteps (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/gpu/
DGrColorSpaceXform.cpp27 if (!a || !b || a->fSteps.flags.mask() != b->fSteps.flags.mask()) { in Equals()
31 if (a->fSteps.flags.linearize && in Equals()
32 0 != memcmp(&a->fSteps.srcTF, &b->fSteps.srcTF, sizeof(a->fSteps.srcTF))) { in Equals()
36 if (a->fSteps.flags.gamut_transform && in Equals()
37 0 != memcmp(&a->fSteps.src_to_dst_matrix, &b->fSteps.src_to_dst_matrix, in Equals()
38 sizeof(a->fSteps.src_to_dst_matrix))) { in Equals()
42 if (a->fSteps.flags.encode && in Equals()
43 0 != memcmp(&a->fSteps.dstTFInv, &b->fSteps.dstTFInv, sizeof(a->fSteps.dstTFInv))) { in Equals()
52 fSteps.apply(result.vec()); in apply()
DGrColorSpaceXform.h22 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform()
27 const SkColorSpaceXformSteps& steps() const { return fSteps; } in steps()
35 return xform ? xform->fSteps.flags.mask() : 0; in XformKey()
45 SkColorSpaceXformSteps fSteps; variable
/external/skia/src/gpu/
DGrColorSpaceXform.cpp27 if (!a || !b || a->fSteps.flags.mask() != b->fSteps.flags.mask()) { in Equals()
31 if (a->fSteps.flags.linearize && in Equals()
32 0 != memcmp(&a->fSteps.srcTF, &b->fSteps.srcTF, sizeof(a->fSteps.srcTF))) { in Equals()
36 if (a->fSteps.flags.gamut_transform && in Equals()
37 0 != memcmp(&a->fSteps.src_to_dst_matrix, &b->fSteps.src_to_dst_matrix, in Equals()
38 sizeof(a->fSteps.src_to_dst_matrix))) { in Equals()
42 if (a->fSteps.flags.encode && in Equals()
43 0 != memcmp(&a->fSteps.dstTFInv, &b->fSteps.dstTFInv, sizeof(a->fSteps.dstTFInv))) { in Equals()
52 fSteps.apply(result.vec()); in apply()
DGrColorSpaceXform.h22 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform()
27 const SkColorSpaceXformSteps& steps() const { return fSteps; } in steps()
35 return xform ? xform->fSteps.flags.mask() : 0; in XformKey()
45 SkColorSpaceXformSteps fSteps; variable
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h30 fFlags = colorSpaceXform->fSteps.flags;
48 pdman.set1fv(fSrcTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.srcTF.g); in setData()
51 pdman.setMatrix3f(fGamutXformVar, colorSpaceXform->fSteps.src_to_dst_matrix); in setData()
54 pdman.set1fv(fDstTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.dstTFInv.g); in setData()
/external/skqp/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h30 fFlags = colorSpaceXform->fSteps.flags;
48 pdman.set1fv(fSrcTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.srcTF.g); in setData()
51 pdman.setMatrix3f(fGamutXformVar, colorSpaceXform->fSteps.src_to_dst_matrix); in setData()
54 pdman.set1fv(fDstTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.dstTFInv.g); in setData()
/external/skqp/bench/
DColorSpaceXformBench.cpp22 std::unique_ptr<SkColorSpaceXformSteps> fSteps; member
40 fSteps = skstd::make_unique<SkColorSpaceXformSteps>(src.get(), kOpaque_SkAlphaType, in onDelayedSetup()
55 fSteps->apply(rgba.vec()); in onDraw()
/external/skia/bench/
DColorSpaceXformBench.cpp22 std::unique_ptr<SkColorSpaceXformSteps> fSteps; member
40 fSteps = skstd::make_unique<SkColorSpaceXformSteps>(src.get(), kOpaque_SkAlphaType, in onDelayedSetup()
55 fSteps->apply(rgba.vec()); in onDraw()
/external/skqp/src/core/
DSkColorFilter.cpp202 SkSRGBGammaColorFilter(Direction dir) : fDir(dir), fSteps([&]{ in __anon292a19220102()
236 fSteps.apply(p, shaderIsNormalized); in onAppendStages()
252 SkColorSpaceXformSteps fSteps; member in SkSRGBGammaColorFilter
/external/skia/src/core/
DSkColorFilter.cpp204 SkSRGBGammaColorFilter(Direction dir) : fDir(dir), fSteps([&]{ in __anond126c66b0102()
238 fSteps.apply(p, shaderIsNormalized); in onAppendStages()
254 SkColorSpaceXformSteps fSteps; member in SkSRGBGammaColorFilter