Home
last modified time | relevance | path

Searched refs:fDitherRate (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkRasterPipelineBlitter.cpp75 float fDitherRate = 0.0f; member in SkRasterPipelineBlitter
163 default: blitter->fDitherRate = 0.0f; break; in Create()
164 case kARGB_4444_SkColorType: blitter->fDitherRate = 1/15.0f; break; in Create()
165 case kRGB_565_SkColorType: blitter->fDitherRate = 1/63.0f; break; in Create()
169 case kBGRA_8888_SkColorType: blitter->fDitherRate = 1/255.0f; break; in Create()
171 case kRGBA_1010102_SkColorType: blitter->fDitherRate = 1/1023.0f; break; in Create()
177 is_constant = is_constant && (blitter->fDitherRate == 0.0f); in Create()
270 if (fDitherRate > 0.0f) { in append_store()
271 p->append(SkRasterPipeline::dither, &fDitherRate); in append_store()
296 && fDitherRate == 0.0f) { in blitRect()
/external/skqp/src/core/
DSkRasterPipelineBlitter.cpp75 float fDitherRate = 0.0f; member in SkRasterPipelineBlitter
163 default: blitter->fDitherRate = 0.0f; break; in Create()
164 case kARGB_4444_SkColorType: blitter->fDitherRate = 1/15.0f; break; in Create()
165 case kRGB_565_SkColorType: blitter->fDitherRate = 1/63.0f; break; in Create()
169 case kBGRA_8888_SkColorType: blitter->fDitherRate = 1/255.0f; break; in Create()
171 case kRGBA_1010102_SkColorType: blitter->fDitherRate = 1/1023.0f; break; in Create()
177 is_constant = is_constant && (blitter->fDitherRate == 0.0f); in Create()
270 if (fDitherRate > 0.0f) { in append_store()
271 p->append(SkRasterPipeline::dither, &fDitherRate); in append_store()
296 && fDitherRate == 0.0f) { in blitRect()