Robert Bragg
3e33c00c84
matrix-stack: only maintain composite_gets in debug builds
...
At times there can be huge numbers of CoglMatrixEntry structures
allocated if they are being used to track the transform of many drawing
commands or objects in a scenegraph. Therefore the size of a
CoglMatrixEntry should be kept as small as possible both to help reduce
the memory usage of applications but also to improve cache usage since
matrix stack manipulations are performance critical at times.
This reduces the size of CoglMatrixEntry structures for non-debug builds
by removing the composite_gets counter used to sanity check how often
the transform for an entry is resolved.
(cherry picked from commit c400b86681a328b1e12b7e120e9c3f4f12c356e0)
2013-01-22 17:48:10 +00:00
..
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-18 10:53:29 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:08 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:47:24 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2012-08-06 18:51:32 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:03 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-09-17 23:06:21 +01:00
2013-01-22 17:47:58 +00:00
2013-01-08 14:56:25 +01:00
2013-01-22 17:48:05 +00:00
2012-09-17 23:06:20 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:48:10 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:10 +00:00
2013-01-22 17:48:10 +00:00
2013-01-18 17:28:25 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 18:51:32 +01:00
2012-09-17 11:47:04 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:02 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:04 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-09-03 15:51:44 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-09-03 15:51:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 18:51:32 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-18 10:53:29 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:41 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2012-08-14 18:55:42 +01:00
2013-01-22 17:48:09 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-09-03 15:48:05 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:06 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-18 17:28:25 +00:00