Searched refs:displacementMap (Results 1 – 2 of 2) sorted by relevance
518 const GrDisplacementMapEffect& displacementMap = args.fFp.cast<GrDisplacementMapEffect>(); in emitCode() local519 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() local593 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 …]
538 const GrDisplacementMapEffect& displacementMap = args.fFp.cast<GrDisplacementMapEffect>(); in emitCode() local540 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() local570 const SkVector& scale = displacementMap.scale(); in onSetData()577 const GrDisplacementMapEffect& displacementMap = proc.cast<GrDisplacementMapEffect>(); in GenKey() local581 uint32_t xKey = static_cast<uint32_t>(displacementMap.xChannelSelector()); in GenKey()582 uint32_t yKey = static_cast<uint32_t>(displacementMap.yChannelSelector()) in GenKey()