Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkDisplacementMapEffect.cpp626 const GrDisplacementMapEffect& displacementMap = proc.cast<GrDisplacementMapEffect>(); in setData() local
627 GrTexture* colorTex = displacementMap.texture(1); in setData()
628 SkScalar scaleX = displacementMap.scale().fX / colorTex->width(); in setData()
629 SkScalar scaleY = displacementMap.scale().fY / colorTex->height(); in setData()
633 fGLDomain.setData(pdman, displacementMap.domain(), colorTex->origin()); in setData()
638 const GrDisplacementMapEffect& displacementMap = proc.cast<GrDisplacementMapEffect>(); in GenKey() local
640 uint32_t xKey = displacementMap.xChannelSelector(); in GenKey()
641 uint32_t yKey = displacementMap.yChannelSelector() << kChannelSelectorKeyBits; in GenKey()