Home
last modified time | relevance | path

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

/external/skia/tools/
Dbench_pictures_main.cpp109 static SkString filtersName(sk_tools::PictureRenderer::DrawFilterFlags* drawFilters) { in filtersName() argument
110 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() local
247 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()
DPictureRenderer.cpp115 static void setUpFilter(SkCanvas* canvas, PictureRenderer::DrawFilterFlags* drawFilters) { in setUpFilter() argument
116 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()