Home
last modified time | relevance | path

Searched refs:srcToDst (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/
DGrColorSpaceXform.cpp56 GrColorSpaceXform::GrColorSpaceXform(const SkMatrix44& srcToDst) in GrColorSpaceXform() argument
57 : fSrcToDst(srcToDst) {} in GrColorSpaceXform()
88 SkMatrix44 srcToDst(SkMatrix44::kUninitialized_Constructor); in Make() local
89 srcToDst.setConcat(*fromXYZD50, *toXYZD50); in Make()
90 return sk_make_sp<GrColorSpaceXform>(srcToDst); in Make()
DGrColorSpaceXform.h22 GrColorSpaceXform(const SkMatrix44& srcToDst);
26 const SkMatrix44& srcToDst() const { return fSrcToDst; } in srcToDst() function
/external/skia/src/core/
DSkColorSpaceXform.cpp325 SkMatrix44 srcToDst(SkMatrix44::kUninitialized_Constructor); in New() local
327 srcToDst.setIdentity(); in New()
332 srcToDst.setIdentity(); in New()
335 srcToDst.setConcat(*dstSpaceXYZ->fromXYZD50(), *srcSpaceXYZ->toXYZD50()); in New()
342 <kNone_ColorSpaceMatch>(srcSpaceXYZ, srcToDst, dstSpaceXYZ, premulBehavior)); in New()
345 <kGamut_ColorSpaceMatch>(srcSpaceXYZ, srcToDst, dstSpaceXYZ, premulBehavior)); in New()
348 <kFull_ColorSpaceMatch>(srcSpaceXYZ, srcToDst, dstSpaceXYZ, premulBehavior)); in New()
944 ::SkColorSpaceXform_XYZ(SkColorSpace_XYZ* srcSpace, const SkMatrix44& srcToDst, in SkColorSpaceXform_XYZ() argument
948 fSrcToDst[ 0] = srcToDst.get(0, 0); in SkColorSpaceXform_XYZ()
949 fSrcToDst[ 1] = srcToDst.get(1, 0); in SkColorSpaceXform_XYZ()
[all …]
DSkColorSpaceXform_Base.h66 SkColorSpaceXform_XYZ(SkColorSpace_XYZ* srcSpace, const SkMatrix44& srcToDst,
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h34 pdman.setSkMatrix44(fGamutXformVar, colorSpaceXform->srcToDst()); in setData()
/external/skia/src/gpu/effects/
DGrNonlinearColorSpaceXformEffect.cpp223 srcToDstMtx = gamutXform->srcToDst(); in Make()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp1383 colorSpaceXform->srcToDst().mapScalars(colors[i].vec(), &vals[4 * i]); in set_after_interp_color_uni_array()
1411 colorSpaceXform->srcToDst().mapScalars(&vals[4 * i]); in set_before_interp_color_uni_array()