Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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()
/external/skia/bench/
DVertexColorSpaceBench.cpp40 sk_sp<GrColorSpaceXform> colorSpaceXform) { in Make() argument
42 return new (ptr) GP(mode, std::move(colorSpaceXform)); in Make()
101 GP(Mode mode, sk_sp<GrColorSpaceXform> colorSpaceXform) in GP() argument
104 , fColorSpaceXform(std::move(colorSpaceXform)) { in GP()
151 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op() argument
155 , fColorSpaceXform(std::move(colorSpaceXform)) { in Op()
/external/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp46 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
50 std::move(colorSpaceXform), viewMatrix); in Make()
172 sk_sp<GrColorSpaceXform> colorSpaceXform, in VerticesGP() argument
178 , fColorSpaceXform(std::move(colorSpaceXform)) { in VerticesGP()
312 sk_sp<GrColorSpaceXform> colorSpaceXform, in DrawVerticesOp() argument
319 , fColorSpaceXform(std::move(colorSpaceXform)) { in DrawVerticesOp()
596 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
605 std::move(colorSpaceXform), matrixProvider, effect); in Make()
715 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(random); in GR_DRAW_OP_TEST_DEFINE() local
727 aaType, std::move(colorSpaceXform), &type, nullptr); in GR_DRAW_OP_TEST_DEFINE()
DGrLatticeOp.cpp148 SkAlphaType alphaType, sk_sp<GrColorSpaceXform> colorSpaceXform, in NonAALatticeOp() argument
155 , fColorSpaceXform(std::move(colorSpaceXform)) in NonAALatticeOp()
395 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA() argument
400 std::move(colorSpaceXform), filter, std::move(iter), dst); in MakeNonAA()
/external/skqp/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()
/external/skqp/src/gpu/ops/
DGrDrawVerticesOp.cpp22 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
29 std::move(colorSpaceXform), viewMatrix); in Make()
35 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrDrawVerticesOp() argument
40 , fColorSpaceXform(std::move(colorSpaceXform)) { in GrDrawVerticesOp()
642 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(random); in GR_DRAW_OP_TEST_DEFINE() local
654 viewMatrix, aaType, std::move(colorSpaceXform), &type); in GR_DRAW_OP_TEST_DEFINE()
DGrLatticeOp.cpp153 sk_sp<GrColorSpaceXform> colorSpaceXform, GrSamplerState::Filter filter, in NonAALatticeOp() argument
158 , fColorSpaceXform(std::move(colorSpaceXform)) in NonAALatticeOp()
336 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA() argument
341 std::move(colorSpaceXform), filter, std::move(iter), dst); in MakeNonAA()
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.cpp45 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
53 shaderCaps, gpTypeFlags, color, std::move(colorSpaceXform), viewMatrix, localMatrix, in Make()
326 sk_sp<GrColorSpaceXform> colorSpaceXform, in DefaultGeoProc() argument
340 , fColorSpaceXform(std::move(colorSpaceXform)) in DefaultGeoProc()
/external/skqp/src/core/
DSkImageFilter.cpp322 auto colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), src->alphaType(), in ImageToColorSpace() local
325 if (!colorSpaceXform) { in ImageToColorSpace()
/external/skia/src/core/
DSkImageFilter.cpp629 auto colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), src->alphaType(), in ImageToColorSpace() local
632 if (!colorSpaceXform) { in ImageToColorSpace()
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp665 sk_sp<GrColorSpaceXform> colorSpaceXform) { in drawTexture() argument
678 if (colorSpaceXform) { in drawTexture()
679 fp = GrColorSpaceXformEffect::Make(std::move(fp), std::move(colorSpaceXform)); in drawTexture()
694 this->drawTexturedQuad(clip, std::move(view), srcAlphaType, std::move(colorSpaceXform), filter, in drawTexture()