Home | History | Annotate | Download | only in utils

Lines Matching refs:layers

80         layers = NULL;
88 // loop through the layers and free the data allocated to the clipRects
90 sk_free(layers[i].mcState.clipRects);
94 sk_free(layers);
115 SkCanvasLayerState* layers;
198 * decompose the layers
200 * storage is allocated on the stack for the first 3 layers. It is common in
201 * some view systems (e.g. Android) that a few non-clipped layers are present
241 // allocate memory for the layers and then and copy them to the struct
244 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten());
245 layerWriter.flatten(canvasState->layers);
326 // Iterate over the layers and add them to the n-way canvas
328 SkAutoTUnref<SkCanvas> canvasLayer(create_canvas_from_canvas_layer(state->layers[i]));
332 canvas->pushCanvas(canvasLayer.get(), SkIPoint::Make(state->layers[i].x,
333 state->layers[i].y));