Lines Matching refs:layers
33 SkLayerRasterizer::SkLayerRasterizer(SkDeque* layers) : fLayers(layers)
37 // Helper function to call destructors on SkPaints held by layers and delete layers.
38 static void clean_up_layers(SkDeque* layers) {
39 SkDeque::F2BIter iter(*layers);
45 SkDELETE(layers);
64 static bool compute_bounds(const SkDeque& layers, const SkPath& path,
67 SkDeque::F2BIter iter(layers);
168 SkDeque* layers = SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec)));
170 SkLayerRasterizer_Rec* rec = (SkLayerRasterizer_Rec*)layers->push_back();
176 return layers;
231 SkDeque* layers = SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec), fLayers->count()));
237 SkLayerRasterizer_Rec* recCopy = static_cast<SkLayerRasterizer_Rec*>(layers->push_back());
242 SkASSERT(layers->count() == count);
243 SkLayerRasterizer* rasterizer = SkNEW_ARGS(SkLayerRasterizer, (layers));