Searched refs:drawFilters (Results 1 – 2 of 2) sorted by relevance
109 static SkString filtersName(sk_tools::PictureRenderer::DrawFilterFlags* drawFilters) { in filtersName() argument110 int all = drawFilters[0]; in filtersName()113 all &= drawFilters[tIndex]; in filtersName()122 if (drawFilters[tIndex] & (1 << fIndex)) { in filtersName()246 sk_tools::PictureRenderer::DrawFilterFlags drawFilters[SkDrawFilter::kTypeCount]; in setup_benchmark() local247 sk_bzero(drawFilters, sizeof(drawFilters)); in setup_benchmark()287 drawFilters[index] = (sk_tools::PictureRenderer::DrawFilterFlags) in setup_benchmark()288 (drawFilters[index] | flag); in setup_benchmark()364 renderer->setDrawFilters(drawFilters, filtersName(drawFilters)); in setup_benchmark()
115 static void setUpFilter(SkCanvas* canvas, PictureRenderer::DrawFilterFlags* drawFilters) { in setUpFilter() argument116 if (drawFilters && !canvas->getDrawFilter()) { in setUpFilter()117 canvas->setDrawFilter(SkNEW_ARGS(FlagsDrawFilter, (drawFilters)))->unref(); in setUpFilter()118 if (drawFilters[0] & PictureRenderer::kAAClip_DrawFilterFlag) { in setUpFilter()