Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/effects/
DGrSimpleTextureEffect.h25 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
28 new GrSimpleTextureEffect(tex, std::move(colorSpaceXform), matrix, in Make()
34 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
38 new GrSimpleTextureEffect(tex, std::move(colorSpaceXform), matrix, filterMode)); in Make()
42 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
45 return sk_sp<GrFragmentProcessor>(new GrSimpleTextureEffect(tex, std::move(colorSpaceXform), in Make()
52 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
56 std::move(colorSpaceXform), matrix, in Make()
63 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
68 std::move(colorSpaceXform), in Make()
[all …]
DGrSingleTextureEffect.cpp13 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSingleTextureEffect() argument
18 , fColorSpaceXform(std::move(colorSpaceXform)) { in GrSingleTextureEffect()
24 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSingleTextureEffect() argument
31 , fColorSpaceXform(std::move(colorSpaceXform)) { in GrSingleTextureEffect()
37 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSingleTextureEffect() argument
43 , fColorSpaceXform(std::move(colorSpaceXform)) { in GrSingleTextureEffect()
51 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSingleTextureEffect() argument
56 , fColorSpaceXform(std::move(colorSpaceXform)) { in GrSingleTextureEffect()
64 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSingleTextureEffect() argument
70 , fColorSpaceXform(std::move(colorSpaceXform)) { in GrSingleTextureEffect()
[all …]
DGrSimpleTextureEffect.cpp17 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSimpleTextureEffect() argument
23 std::move(colorSpaceXform), in GrSimpleTextureEffect()
31 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrSimpleTextureEffect() argument
37 std::move(colorSpaceXform), in GrSimpleTextureEffect()
47 fColorSpaceHelper.emitCode(args.fUniformHandler, textureEffect.colorSpaceXform()); in emitCode()
62 b->add32(GrColorSpaceXform::XformKey(textureEffect.colorSpaceXform())); in GenKey()
68 if (SkToBool(textureEffect.colorSpaceXform())) { in onSetData()
69 fColorSpaceHelper.setData(pdman, textureEffect.colorSpaceXform()); in onSetData()
111 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(d->fRandom); in TestCreate() local
113 std::move(colorSpaceXform), matrix); in TestCreate()
DGrBicubicEffect.cpp26 b->add32(GrColorSpaceXform::XformKey(bicubicEffect.colorSpaceXform())); in GenKey()
52 fColorSpaceHelper.emitCode(uniformHandler, bicubicEffect.colorSpaceXform()); in emitCode()
129 if (SkToBool(bicubicEffect.colorSpaceXform())) { in onSetData()
130 fColorSpaceHelper.setData(pdman, bicubicEffect.colorSpaceXform()); in onSetData()
135 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrBicubicEffect() argument
141 std::move(colorSpaceXform), in GrBicubicEffect()
149 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrBicubicEffect() argument
153 std::move(colorSpaceXform), matrix, in GrBicubicEffect()
182 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(d->fRandom); in TestCreate() local
186 d->textureProxy(texIdx), std::move(colorSpaceXform), in TestCreate()
DGrBicubicEffect.h34 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
38 std::move(colorSpaceXform), in Make()
47 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
51 std::move(colorSpaceXform), in Make()
DGrTextureDomain.cpp247 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
255 std::move(colorSpaceXform), matrix, filterMode); in Make()
259 std::move(colorSpaceXform), in Make()
266 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrTextureDomainEffect() argument
272 std::move(colorSpaceXform), matrix, filterMode) in GrTextureDomainEffect()
282 b->add32(GrColorSpaceXform::XformKey(this->colorSpaceXform())); in onGetGLSLProcessorKey()
295 fColorSpaceHelper.emitCode(args.fUniformHandler, tde.colorSpaceXform()); in onCreateGLSLInstance()
312 if (SkToBool(tde.colorSpaceXform())) { in onCreateGLSLInstance()
313 fColorSpaceHelper.setData(pdman, tde.colorSpaceXform()); in onCreateGLSLInstance()
348 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(d->fRandom); in TestCreate() local
[all …]
DGrSingleTextureEffect.h31 GrColorSpaceXform* colorSpaceXform() const { return fColorSpaceXform.get(); } in colorSpaceXform() function
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h23 void emitCode(GrGLSLUniformHandler* uniformHandler, GrColorSpaceXform* colorSpaceXform) { in emitCode() argument
25 if (colorSpaceXform) { in emitCode()
32 void setData(const GrGLSLProgramDataManager& pdman, GrColorSpaceXform* colorSpaceXform) { in setData() argument
33 pdman.setSkMatrix44(fGamutXformVar, colorSpaceXform->srcToDst()); in setData()
/external/skia/src/effects/
DGrAlphaThresholdFragmentProcessor.cpp32 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrAlphaThresholdFragmentProcessor() argument
43 , fColorSpaceXform(std::move(colorSpaceXform)) in GrAlphaThresholdFragmentProcessor()
73 b->add32(GrColorSpaceXform::XformKey(atfp.colorSpaceXform())); in GenKey()
97 fColorSpaceHelper.emitCode(uniformHandler, atfp.colorSpaceXform()); in emitCode()
141 if (SkToBool(atfp.colorSpaceXform())) { in onSetData()
142 fColorSpaceHelper.setData(pdman, atfp.colorSpaceXform()); in onSetData()
164 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(d->fRandom); in TestCreate() local
167 std::move(colorSpaceXform), in TestCreate()
DGrAlphaThresholdFragmentProcessor.h25 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
33 std::move(colorSpaceXform), in Make()
44 GrColorSpaceXform* colorSpaceXform() const { return fColorSpaceXform.get(); } in colorSpaceXform() function
51 sk_sp<GrColorSpaceXform> colorSpaceXform,
DSkMagnifierImageFilter.cpp53 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make() argument
62 std::move(colorSpaceXform), in Make()
86 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrMagnifierEffect() argument
96 std::move(colorSpaceXform), in GrMagnifierEffect()
135 b->add32(GrColorSpaceXform::XformKey(zoom.colorSpaceXform())); in GenKey()
167 fColorSpaceHelper.emitCode(uniformHandler, zoom.colorSpaceXform()); in emitCode()
240 if (SkToBool(zoom.colorSpaceXform())) { in onSetData()
241 fColorSpaceHelper.setData(pdman, zoom.colorSpaceXform()); in onSetData()
267 sk_sp<GrColorSpaceXform> colorSpaceXform = GrTest::TestColorXform(d->fRandom); in TestCreate() local
275 std::move(colorSpaceXform), in TestCreate()
[all …]
DSkDisplacementMapEffect.cpp222 sk_sp<GrColorSpaceXform> colorSpaceXform, const SkISize& colorDimensions) { in Make() argument
226 offsetMatrix, std::move(color), std::move(colorSpaceXform), in Make()
242 GrColorSpaceXform* colorSpaceXform() const { return fColorSpaceXform.get(); } in colorSpaceXform() function in GrDisplacementMapEffect
256 sk_sp<GrTextureProxy> color, sk_sp<GrColorSpaceXform> colorSpaceXform,
339 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(color->getColorSpace(), in onFilterImage() local
350 std::move(colorSpaceXform), in onFilterImage()
495 sk_sp<GrColorSpaceXform> colorSpaceXform, in GrDisplacementMapEffect() argument
506 , fColorSpaceXform(std::move(colorSpaceXform)) in GrDisplacementMapEffect()
551 auto colorSpaceXform = GrTest::TestColorXform(d->fRandom); in TestCreate() local
555 std::move(colorProxy), colorSpaceXform, in TestCreate()
[all …]
DSkAlphaThresholdFilter.cpp170 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(input->getColorSpace(), in onFilterImage() local
176 std::move(colorSpaceXform), in onFilterImage()
/external/skia/src/gpu/
DGrPaint.cpp24 sk_sp<GrColorSpaceXform> colorSpaceXform, in addColorTextureProcessor() argument
27 std::move(colorSpaceXform), in addColorTextureProcessor()
33 sk_sp<GrColorSpaceXform> colorSpaceXform, in addColorTextureProcessor() argument
38 std::move(colorSpaceXform), in addColorTextureProcessor()
DGrTextureProducer.cpp229 sk_sp<GrColorSpaceXform> colorSpaceXform, in CreateFragmentProcessorForDomainAndFilter() argument
238 std::move(colorSpaceXform), textureMatrix, in CreateFragmentProcessorForDomainAndFilter()
244 std::move(colorSpaceXform), textureMatrix, in CreateFragmentProcessorForDomainAndFilter()
250 std::move(colorSpaceXform), in CreateFragmentProcessorForDomainAndFilter()
256 std::move(colorSpaceXform), in CreateFragmentProcessorForDomainAndFilter()
DGrTextureMaker.cpp98 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(texColorSpace.get(), in createFragmentProcessor() local
101 std::move(colorSpaceXform), in createFragmentProcessor()
DGrTextureAdjuster.cpp167 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace, in createFragmentProcessor() local
170 std::move(colorSpaceXform), in createFragmentProcessor()
DSkGpuDevice.cpp1061 sk_sp<GrColorSpaceXform> colorSpaceXform = in drawBitmapTile() local
1089 std::move(colorSpaceXform), texMatrix, domain); in drawBitmapTile()
1092 std::move(colorSpaceXform), texMatrix, in drawBitmapTile()
1100 std::move(colorSpaceXform), texMatrix, tileModes); in drawBitmapTile()
1103 std::move(colorSpaceXform), texMatrix, params); in drawBitmapTile()
1170 sk_sp<GrColorSpaceXform> colorSpaceXform = in drawSpecial() local
1175 std::move(colorSpaceXform), in drawSpecial()
/external/skia/src/core/
DSkColorShader.cpp216 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor() local
219 if (colorSpaceXform) { in asFragmentProcessor()
220 color = colorSpaceXform->apply(color); in asFragmentProcessor()
DSkImageFilter.cpp357 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(src->getColorSpace(), in ImageToColorSpace() local
360 if (!colorSpaceXform) { in ImageToColorSpace()
/external/skia/src/image/
DSkImageShader.cpp169 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(texColorSpace.get(), in asFragmentProcessor() local
174 std::move(colorSpaceXform), lmInverse, tm); in asFragmentProcessor()
177 std::move(colorSpaceXform), lmInverse, params); in asFragmentProcessor()
/external/skia/src/effects/gradients/
DSkSweepGradient.cpp250 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor() local
254 std::move(colorSpaceXform), SkToBool(args.fDstColorSpace)))); in asFragmentProcessor()
DSkGradientShaderPriv.h337 sk_sp<GrColorSpaceXform> colorSpaceXform, in CreateArgs()
343 , fColorSpaceXform(std::move(colorSpaceXform)) in CreateArgs()
DSkTwoPointConicalGradient.cpp360 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor() local
364 std::move(colorSpaceXform), SkToBool(args.fDstColorSpace)))); in asFragmentProcessor()
DSkRadialGradient.cpp360 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), in asFragmentProcessor() local
364 std::move(colorSpaceXform), SkToBool(args.fDstColorSpace)))); in asFragmentProcessor()

12