Home
last modified time | relevance | path

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

/external/skqp/src/effects/imagefilters/
DSkDisplacementMapEffect.cpp518 const GrDisplacementMapEffect& displacementMap = args.fFp.cast<GrDisplacementMapEffect>(); in emitCode() local
519 const GrTextureDomain& domain = displacementMap.domain(); in emitCode()
543 switch (displacementMap.xChannelSelector()) { in emitCode()
561 switch (displacementMap.yChannelSelector()) { in emitCode()
592 const GrDisplacementMapEffect& displacementMap = proc.cast<GrDisplacementMapEffect>(); in onSetData() local
593 GrTextureProxy* proxy = displacementMap.textureSampler(1).proxy(); in onSetData()
596 SkScalar scaleX = displacementMap.scale().fX / colorTex->width(); in onSetData()
597 SkScalar scaleY = displacementMap.scale().fY / colorTex->height(); in onSetData()
601 fGLDomain.setData(pdman, displacementMap.domain(), proxy, in onSetData()
602 displacementMap.textureSampler(1).samplerState()); in onSetData()
[all …]
/external/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp538 const GrDisplacementMapEffect& displacementMap = args.fFp.cast<GrDisplacementMapEffect>(); in emitCode() local
540 fScaleUni = args.fUniformHandler->addUniform(&displacementMap, kFragment_GrShaderFlag, in emitCode()
559 chanChar(displacementMap.xChannelSelector()), in emitCode()
560 chanChar(displacementMap.yChannelSelector())); in emitCode()
569 const auto& displacementMap = proc.cast<GrDisplacementMapEffect>(); in onSetData() local
570 const SkVector& scale = displacementMap.scale(); in onSetData()
577 const GrDisplacementMapEffect& displacementMap = proc.cast<GrDisplacementMapEffect>(); in GenKey() local
581 uint32_t xKey = static_cast<uint32_t>(displacementMap.xChannelSelector()); in GenKey()
582 uint32_t yKey = static_cast<uint32_t>(displacementMap.yChannelSelector()) in GenKey()