Home | History | Annotate | Download | only in core

Lines Matching defs:blitter

25     // This is our common entrypoint for creating the blitter once we've sorted out shaders.
150 auto blitter = alloc->make<SkRasterPipelineBlitter>(dst,
155 // Our job in this factory is to fill out the blitter's color pipeline.
158 auto colorPipeline = &blitter->fColorPipeline;
162 colorPipeline->append(SkRasterPipeline::load_f32, &blitter->fShaderOutput);
177 default: blitter->fDitherRate = 0.0f; break;
178 case kARGB_4444_SkColorType: blitter->fDitherRate = 1/15.0f; break;
179 case kRGB_565_SkColorType: blitter->fDitherRate = 1/63.0f; break;
182 case kBGRA_8888_SkColorType: blitter->fDitherRate = 1/255.0f; break;
188 is_constant = is_constant && (blitter->fDitherRate == 0.0f);
190 // We're logically done here. The code between here and return blitter is all optimization.
205 if (is_opaque && blitter->fBlend == SkBlendMode::kSrcOver) {
206 blitter->fBlend = SkBlendMode::kSrc;
211 if (is_constant && blitter->fBlend == SkBlendMode::kSrc) {
216 blitter->fDstPtr = &blitter->fMemsetColor;
217 blitter->append_store(&p);
220 blitter->fCanMemsetInBlitH = true;
223 return blitter;