MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getIdentityRectangles

Method getIdentityRectangles

Engine/RenderStats.cpp:194–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194std::list<std::pair<RectI, NodePtr> >
195NodeRenderStats::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
209void
210NodeRenderStats::addMipMapLevelRendered(unsigned int level)

Callers 2

reportStatsMethod · 0.80
editNodeRowMethod · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
lockMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected