Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrColorSpaceXform.cpp34 if (!a || !b || a->fSteps.flags.mask() != b->fSteps.flags.mask()) { in Equals()
38 if (a->fSteps.flags.linearize && in Equals()
39 0 != memcmp(&a->fSteps.srcTF, &b->fSteps.srcTF, sizeof(a->fSteps.srcTF))) { in Equals()
43 if (a->fSteps.flags.gamut_transform && in Equals()
44 0 != memcmp(&a->fSteps.src_to_dst_matrix, &b->fSteps.src_to_dst_matrix, in Equals()
45 sizeof(a->fSteps.src_to_dst_matrix))) { in Equals()
49 if (a->fSteps.flags.encode && in Equals()
50 0 != memcmp(&a->fSteps.dstTFInv, &b->fSteps.dstTFInv, sizeof(a->fSteps.dstTFInv))) { in Equals()
59 fSteps.apply(result.vec()); in apply()
DGrColorSpaceXform.h24 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform()
31 const SkColorSpaceXformSteps& steps() const { return fSteps; } in steps()
42 const SkColorSpaceXformSteps& steps(xform->fSteps); in XformKey()
60 SkColorSpaceXformSteps fSteps; variable
/third_party/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h29 fFlags = colorSpaceXform->fSteps.flags;
33 fSrcTFKind = classify_transfer_fn(colorSpaceXform->fSteps.srcTF);
42 fDstTFKind = classify_transfer_fn(colorSpaceXform->fSteps.dstTFInv);
49 pdman.set1fv(fSrcTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.srcTF.g); in setData()
52 pdman.setMatrix3f(fGamutXformVar, colorSpaceXform->fSteps.src_to_dst_matrix); in setData()
55 pdman.set1fv(fDstTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.dstTFInv.g); in setData()
/third_party/skia/experimental/graphite/src/
DRenderer.h94 return {&fSteps.front(), static_cast<size_t>(fStepCount) }; in steps()
126 fSteps[i] = steps[i]; in Renderer()
127 fRequiresStencil |= fSteps[i]->requiresStencil(); in Renderer()
128 fRequiresMSAA |= fSteps[i]->requiresMSAA(); in Renderer()
129 SkDEBUGCODE(performsShading |= fSteps[i]->performsShading()); in Renderer()
138 std::array<const RenderStep*, kMaxRenderSteps> fSteps; variable
/third_party/skia/src/core/
DSkDraw_atlas.cpp56 : fSteps{sk_srgb_singleton(), kUnpremul_SkAlphaType, cs, kUnpremul_SkAlphaType} {} in UpdatableColorShader()
72 fSteps.apply(c4.vec()); in updateColor()
85 SkColorSpaceXformSteps fSteps; member in UpdatableColorShader
DSkColorFilter.cpp237 SkSRGBGammaColorFilter(Direction dir) : fDir(dir), fSteps([&]{ in __anonb988d4290102()
275 fSteps.apply(rec.fPipeline); in onAppendStages()
285 return premul(fSteps.program(p, uniforms, unpremul(c))); in onProgram()
297 SkColorSpaceXformSteps fSteps; member in SkSRGBGammaColorFilter