Searched refs:sample_texel (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/src/shaders/ |
D | SkImageShader.cpp | 772 auto sample_texel = [&](const Uniforms& u, skvm::F32 sx, skvm::F32 sy) -> skvm::Color { in makeProgram() local 865 skvm::Color s = sample_texel(u, sx,sy); in makeProgram() 887 return lerp(lerp(sample_texel(u, left,top ), sample_texel(u, right,top ), fx), in makeProgram() 888 lerp(sample_texel(u, left,bottom), sample_texel(u, right,bottom), fx), fy); in makeProgram() 891 return sample_texel(u, local.x,local.y); in makeProgram()
|