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
2012-08-06 14:27:38 +01: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
2011-09-09 15:06:31 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2011-05-06 12:12:08 +01:00
2011-09-09 15:06:31 +01: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
2011-05-16 14:31:31 +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: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
2011-12-06 18:51:57 +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: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
2010-03-01 12:56:10 +00:00
2011-05-16 18:45:51 +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
2012-08-06 14:27:39 +01:00
2009-10-16 18:58:50 +01: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
2011-05-16 14:31:31 +01:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:48:05 +00:00
2011-05-16 14:31:31 +01: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
2012-02-20 23:16:37 +00: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
2011-11-01 12:03:02 +00: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
2011-05-16 13:28:17 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:38 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2011-07-13 12:30:07 +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
2011-11-01 12:02:59 +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
2010-09-14 12:43:17 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2011-05-16 14:11:47 +01:00
2012-08-06 18:51:32 +01:00
2013-01-22 17:48:05 +00:00
2011-07-01 17:52:55 +01: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
2012-01-27 17:18:32 +00: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
2011-06-30 14:33:13 +01:00
2013-01-22 17:48:05 +00:00
2011-06-30 14:34:33 +01:00
2012-02-20 23:12:45 +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