/third_party/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 25 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/ |
D | GrGLSLColorSpaceXformHelper.h | 26 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/ |
D | DrawVerticesOp.cpp | 48 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()
|
D | LatticeOp.cpp | 155 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/ |
D | VertexColorSpaceBench.cpp | 39 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/ |
D | VertexColorSpaceBench.cpp | 38 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/ |
D | GrDefaultGeoProcFactory.cpp | 40 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/ |
D | GrDrawVerticesOp.cpp | 138 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()
|
D | GrLatticeOp.cpp | 154 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/ |
D | SkImage_GpuYUVA.cpp | 152 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()
|
D | SkImage_GpuBase.cpp | 309 sk_sp<GrColorSpaceXform> colorSpaceXform, in RenderYUVAToRGBA() argument 322 if (colorSpaceXform) { in RenderYUVAToRGBA() 323 fp = GrColorSpaceXformEffect::Make(std::move(fp), std::move(colorSpaceXform)); in RenderYUVAToRGBA()
|
D | SkImage_GpuBase.h | 93 sk_sp<GrColorSpaceXform> colorSpaceXform,
|
/third_party/flutter/skia/src/core/ |
D | SkImageFilter.cpp | 454 auto colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), src->alphaType(), in ImageToColorSpace() local 457 if (!colorSpaceXform) { in ImageToColorSpace()
|
/third_party/skia/src/core/ |
D | SkImageFilter.cpp | 630 auto colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), src->alphaType(), in ImageToColorSpace() local 633 if (!colorSpaceXform) { in ImageToColorSpace()
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceDrawContext.cpp | 655 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()
|