Home
last modified time | relevance | path

Searched refs:colorSpaceXform (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h25 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
28 if (colorSpaceXform) {
29 fFlags = colorSpaceXform->fSteps.flags;
33 fSrcTFKind = classify_transfer_fn(colorSpaceXform->fSteps.srcTF);
42 fDstTFKind = classify_transfer_fn(colorSpaceXform->fSteps.dstTFInv);
47 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData() argument
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/flutter/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h26 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
29 if (colorSpaceXform) {
30 fFlags = colorSpaceXform->fSteps.flags;
46 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData() argument
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()
/third_party/skia/src/gpu/ops/
DDrawVerticesOp.cpp48 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
52 std::move(colorSpaceXform), viewMatrix); in Make()
161 sk_sp<GrColorSpaceXform> colorSpaceXform, in VerticesGP() argument
167 , fColorSpaceXform(std::move(colorSpaceXform)) { in VerticesGP()
306 sk_sp<GrColorSpaceXform> colorSpaceXform, in DrawVerticesOpImpl() argument
312 , fColorSpaceXform(std::move(colorSpaceXform)) { in DrawVerticesOpImpl()
593 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
604 std::move(colorSpaceXform), in Make()
717 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(random); in GR_DRAW_OP_TEST_DEFINE() local
733 std::move(colorSpaceXform), in GR_DRAW_OP_TEST_DEFINE()
DLatticeOp.cpp155 SkAlphaType alphaType, sk_sp<GrColorSpaceXform> colorSpaceXform, in NonAALatticeOp() argument
162 , fColorSpaceXform(std::move(colorSpaceXform)) in NonAALatticeOp()
403 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA() argument
408 std::move(colorSpaceXform), filter, std::move(iter), dst); in MakeNonAA()
/third_party/skia/bench/
DVertexColorSpaceBench.cpp39 sk_sp<GrColorSpaceXform> colorSpaceXform) { in Make() argument
41 return new (ptr) GP(mode, std::move(colorSpaceXform)); in Make()
103 GP(Mode mode, sk_sp<GrColorSpaceXform> colorSpaceXform) in GP() argument
106 , fColorSpaceXform(std::move(colorSpaceXform)) { in GP()
153 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op() argument
157 , fColorSpaceXform(std::move(colorSpaceXform)) { in Op()
/third_party/flutter/skia/bench/
DVertexColorSpaceBench.cpp38 GP(Mode mode, sk_sp<GrColorSpaceXform> colorSpaceXform) in GP() argument
41 , fColorSpaceXform(std::move(colorSpaceXform)) { in GP()
142 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op() argument
146 , fColorSpaceXform(std::move(colorSpaceXform)) { in Op()
/third_party/flutter/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp40 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
46 shaderCaps, gpTypeFlags, color, std::move(colorSpaceXform), viewMatrix, localMatrix, in Make()
230 sk_sp<GrColorSpaceXform> colorSpaceXform, in DefaultGeoProc() argument
242 , fColorSpaceXform(std::move(colorSpaceXform)) { in DefaultGeoProc()
/third_party/flutter/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp138 sk_sp<GrColorSpaceXform> colorSpaceXform, in DrawVerticesOp() argument
143 , fColorSpaceXform(std::move(colorSpaceXform)) { in DrawVerticesOp()
579 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
588 std::move(colorSpaceXform), in Make()
692 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(random); in GR_DRAW_OP_TEST_DEFINE() local
704 viewMatrix, aaType, std::move(colorSpaceXform), &type); in GR_DRAW_OP_TEST_DEFINE()
DGrLatticeOp.cpp154 sk_sp<GrColorSpaceXform> colorSpaceXform, GrSamplerState::Filter filter, in NonAALatticeOp() argument
159 , fColorSpaceXform(std::move(colorSpaceXform)) in NonAALatticeOp()
345 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA() argument
350 std::move(colorSpaceXform), filter, std::move(iter), dst); in MakeNonAA()
/third_party/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp152 sk_sp<GrColorSpaceXform> colorSpaceXform; in asTextureProxyRef() local
154 colorSpaceXform = GrColorSpaceXform::Make(fFromColorSpace.get(), this->alphaType(), in asTextureProxyRef()
159 std::move(colorSpaceXform), fProxies, fYUVAIndices)) { in asTextureProxyRef()
DSkImage_GpuBase.cpp309 sk_sp<GrColorSpaceXform> colorSpaceXform, in RenderYUVAToRGBA() argument
322 if (colorSpaceXform) { in RenderYUVAToRGBA()
323 fp = GrColorSpaceXformEffect::Make(std::move(fp), std::move(colorSpaceXform)); in RenderYUVAToRGBA()
DSkImage_GpuBase.h93 sk_sp<GrColorSpaceXform> colorSpaceXform,
/third_party/flutter/skia/src/core/
DSkImageFilter.cpp454 auto colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), src->alphaType(), in ImageToColorSpace() local
457 if (!colorSpaceXform) { in ImageToColorSpace()
/third_party/skia/src/core/
DSkImageFilter.cpp630 auto colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), src->alphaType(), in ImageToColorSpace() local
633 if (!colorSpaceXform) { in ImageToColorSpace()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp655 sk_sp<GrColorSpaceXform> colorSpaceXform) { in drawTexture() argument
668 if (colorSpaceXform) { in drawTexture()
669 fp = GrColorSpaceXformEffect::Make(std::move(fp), std::move(colorSpaceXform)); in drawTexture()
684 this->drawTexturedQuad(clip, std::move(view), srcAlphaType, std::move(colorSpaceXform), filter, in drawTexture()