Lines Matching refs:uniforms
112 static skvm::Coord device_coord(skvm::Builder* p, skvm::Uniforms* uniforms) { in device_coord() argument
113 skvm::I32 dx = p->uniform32(uniforms->base, offsetof(BlitterUniforms, right)) in device_coord()
115 dy = p->uniform32(uniforms->base, offsetof(BlitterUniforms, y)); in device_coord()
124 skvm::Uniforms* uniforms, SkArenaAlloc* alloc, bool* ok) { in cache_key() argument
126 skvm::Uniform r = uniforms->pushF(params.paint.fR), in cache_key()
127 g = uniforms->pushF(params.paint.fG), in cache_key()
128 b = uniforms->pushF(params.paint.fB), in cache_key()
129 a = uniforms->pushF(params.paint.fA); in cache_key()
134 skvm::Coord device = device_coord(&p, uniforms); in cache_key()
146 params.dst, uniforms,alloc)) { in cache_key()
183 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) { in build_program() argument
185 uniforms->base = p->uniform(); in build_program()
195 skvm::Coord device = device_coord(p, uniforms); in build_program()
196 skvm::Color paint = p->uniformColor(params.paint, uniforms); in build_program()
201 params.dst, uniforms, alloc); in build_program()
271 params.dst, uniforms, alloc); in build_program()
353 skvm::Uniforms* uniforms, SkArenaAlloc*) const override { in onProgram()
360 return SkColorSpaceXformSteps{fSprite, dst}.program(p, uniforms, c); in onProgram()
379 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const override { in onProgram()
382 matrices,localM, dst, uniforms,alloc); in onProgram()
632 BlitterUniforms uniforms{right, y}; in updateUniforms() local
633 memcpy(fUniforms.buf.data(), &uniforms, sizeof(BlitterUniforms)); in updateUniforms()