Lines Matching refs:layers
16 // Return true if any layers are suitable for hoisting
44 // Pre-render all the layers that intersect the query rect
59 // TODO: once this code is more stable unsuitable layers can
128 static void convert_layers_to_replacements(const SkTDArray<GrLayerHoister::HoistedLayer>& layers,
131 for (int i = 0; i < layers.count(); ++i) {
133 layerInfo->fStart = layers[i].fLayer->start();
134 layerInfo->fStop = layers[i].fLayer->stop();
135 layerInfo->fPos = layers[i].fLayer->offset();;
138 wrap_texture(layers[i].fLayer->texture(),
139 !layers[i].fLayer->isAtlased() ? layers[i].fLayer->rect().width()
140 : layers[i].fLayer->texture()->width(),
141 !layers[i].fLayer->isAtlased() ? layers[i].fLayer->rect().height()
142 : layers[i].fLayer->texture()->height(),
146 layerInfo->fPaint = layers[i].fLayer->paint()
147 ? SkNEW_ARGS(SkPaint, (*layers[i].fLayer->paint()))
150 layerInfo->fSrcRect = SkIRect::MakeXYWH(layers[i].fLayer->rect().fLeft,
151 layers[i].fLayer->rect().fTop,
152 layers[i].fLayer->rect().width(),
153 layers[i].fLayer->rect().height());
160 // Render the atlased layers that require it
162 // All the atlased layers are rendered into the same GrTexture
187 // TODO: ensure none of the atlased layers contain a clear call!
212 // Render the non-atlased layers that require it
260 // free floating layers
280 // free floating layers