Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkDisplacementMapEffect.cpp520 const GrDisplacementMapEffect& displacementMap = args.fFp.cast<GrDisplacementMapEffect>(); in emitCode() local
521 const GrTextureDomain& domain = displacementMap.domain(); in emitCode()
532 fColorSpaceHelper.emitCode(args.fUniformHandler, displacementMap.colorSpaceXform()); in emitCode()
548 switch (displacementMap.xChannelSelector()) { in emitCode()
566 switch (displacementMap.yChannelSelector()) { in emitCode()
599 const GrDisplacementMapEffect& displacementMap = proc.cast<GrDisplacementMapEffect>(); in onSetData() local
600 GrTexture* colorTex = displacementMap.textureSampler(1).peekTexture(); in onSetData()
602 SkScalar scaleX = displacementMap.scale().fX / colorTex->width(); in onSetData()
603 SkScalar scaleY = displacementMap.scale().fY / colorTex->height(); in onSetData()
607 fGLDomain.setData(pdman, displacementMap.domain(), colorTex); in onSetData()
[all …]