89 bool need_compression =
false;
92 if ((*iter)->getCompression())
94 need_compression =
true;
104 (*iter)->renderToTarget(_target, _update);
107 (*iter)->renderToTarget(_target, _update);
111 (*iter)->renderToTarget(_target, _update);
121 (*iter)->resizeLayerItemView(oldSize, _viewSize);
165 if ((*iter)->getNeedVertexCount() == 0)
169 VectorRenderItem::reverse_iterator next = iter + 1;
172 if ((*next)->getNeedVertexCount() == 0)
177 else if (!(*next)->getManualRender() && (*next)->getTexture() == _texture)
186 (*iter)->setTexture(_texture);
193 else if (!(*iter)->getManualRender() && (*iter)->getTexture() == _texture)
215 if ((*iter)->getTexture() == _texture)
221 else if ((*iter)->getNeedVertexCount() == 0)
223 (*iter)->setTexture(_texture);
254 if ((*iter) == _item)
300 if ((*iter)->getNeedVertexCount() == 0 && !(*iter)->getManualRender())
301 emptyItems.push_back(*iter);
303 nonEmptyItems.push_back(*iter);
305 nonEmptyItems.insert(nonEmptyItems.end(), emptyItems.begin(), emptyItems.end());
326 if ((*item)->isOutOfDate())
332 if ((*item)->isOutOfDate())
338 if (static_cast<const LayerNode*>(*item)->isOutOfDate())