Lines Matching refs:mBuilder
207 if (mBuilder == nullptr) { in getShader()
208 mBuilder = std::make_unique<SkRuntimeShaderBuilder>(getStretchEffect()); in getShader()
211 mBuilder->child(CONTENT_TEXTURE) = in getShader()
214 mBuilder->uniform("uInterpolationStrength").set(&INTERPOLATION_STRENGTH_VALUE, 1); in getShader()
215 mBuilder->uniform("uStretchAffectedDistX").set(&width, 1); in getShader()
216 mBuilder->uniform("uStretchAffectedDistY").set(&height, 1); in getShader()
217 mBuilder->uniform("uDistanceStretchedX").set(&distanceStretchedX, 1); in getShader()
218 mBuilder->uniform("uDistanceStretchedY").set(&distanceStretchedY, 1); in getShader()
219 mBuilder->uniform("uInverseDistanceStretchedX").set(&inverseDistanceStretchedX, 1); in getShader()
220 mBuilder->uniform("uInverseDistanceStretchedY").set(&inverseDistanceStretchedY, 1); in getShader()
221 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in getShader()
222 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in getShader()
223 mBuilder->uniform("uOverscrollX").set(&normOverScrollDistX, 1); in getShader()
224 mBuilder->uniform("uOverscrollY").set(&normOverScrollDistY, 1); in getShader()
225 mBuilder->uniform("uScrollX").set(&ZERO, 1); in getShader()
226 mBuilder->uniform("uScrollY").set(&ZERO, 1); in getShader()
227 mBuilder->uniform("viewportWidth").set(&width, 1); in getShader()
228 mBuilder->uniform("viewportHeight").set(&height, 1); in getShader()
230 auto result = mBuilder->makeShader(); in getShader()
231 mBuilder->child(CONTENT_TEXTURE) = nullptr; in getShader()