| 192 | } |
| 193 | |
| 194 | std::list<std::pair<RectI, NodePtr> > |
| 195 | NodeRenderStats::getIdentityRectangles() const |
| 196 | { |
| 197 | std::list<std::pair<RectI, NodePtr> > ret; |
| 198 | |
| 199 | for (std::list<std::pair<RectI, NodeWPtr> >::const_iterator it = _imp->identityRectangles.begin(); it != _imp->identityRectangles.end(); ++it) { |
| 200 | NodePtr n = it->second.lock(); |
| 201 | if (n) { |
| 202 | ret.push_back( std::make_pair(it->first, n) ); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | return ret; |
| 207 | } |
| 208 | |
| 209 | void |
| 210 | NodeRenderStats::addMipMapLevelRendered(unsigned int level) |
no test coverage detected