Searched refs:gammaPaint (Results 1 – 2 of 2) sorted by relevance
137 SkPaint gammaPaint; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local138 gammaPaint.setBlendMode(SkBlendMode::kSrc); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()139 gammaPaint.setColorFilter(toSRGB ? SkColorFilter::MakeLinearToSRGBGamma() in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()142 dstCanvas->drawBitmap(bm, 0, 0, &gammaPaint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()