Freestyle: Finer memory statistics with CXX_GUARDEDALLOC.
This commit is contained in:
@@ -106,6 +106,10 @@ public:
|
||||
{
|
||||
return _splittingId;
|
||||
}
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Chain")
|
||||
#endif
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -341,6 +341,10 @@ public:
|
||||
real curvatureFredo() const;
|
||||
Vec2d directionFredo() const;
|
||||
#endif
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:CurvePoint")
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
@@ -586,6 +590,10 @@ public:
|
||||
* At each iteration a virtual temporary CurvePoint is created.
|
||||
*/
|
||||
virtual Interface0DIterator pointsEnd(float t = 0.0f);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Curve")
|
||||
#endif
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
@@ -474,6 +474,10 @@ public:
|
||||
|
||||
/* interface definition */
|
||||
/* inherited */
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StrokeVertex")
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
@@ -862,6 +866,10 @@ public:
|
||||
|
||||
virtual Interface0DIterator pointsBegin(float t = 0.0f);
|
||||
virtual Interface0DIterator pointsEnd(float t = 0.0f);
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Stroke")
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -369,7 +369,6 @@ public:
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/**********************************/
|
||||
@@ -642,7 +641,6 @@ public:
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:TVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -859,7 +857,6 @@ public:
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:NonTVertex")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/**********************************/
|
||||
@@ -1379,7 +1376,6 @@ public:
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewEdge")
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user