Robert Bragg
c603dc67ca
cogl-vertex-buffer: make sure to unref weak pipelines
...
When validating a user pipeline before drawing with a CoglVertexBuffer
we sometimes find we have to make some overrides and we handle that by
creating a pipeline which is a weak copy of the user pipeline. The weak
pipeline gets associated with the original pipeline so if that pipeline
is used multiple times then we can re-use the same override pipeline and
skip validation. Because it's a weak pipeline we get notified when the
original material is destroyed or changed so we know our weak pipeline
is now invalid.
When we get notified that the weak material is invalid we should unref
it, but instead we were just discarding our reference to it. This was
resulting in leaking weak materials and in some cases those materials
referenced textures which would then also be leaked.
2011-06-13 17:48:23 +01:00
..
2011-06-01 20:44:42 +01:00
2010-09-12 19:25:47 +01:00
2011-06-10 18:43:56 +01:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-05-16 14:32:37 +01:00
2010-11-11 13:17:26 +00:00
2011-05-06 12:12:08 +01:00
2011-05-05 17:32:28 +01:00
2011-05-05 17:32:28 +01:00
2011-06-01 20:44:41 +01:00
2011-03-14 18:18:15 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:32:37 +01:00
2011-05-16 14:32:37 +01:00
2011-05-16 14:32:37 +01:00
2010-07-15 17:24:01 +01:00
2011-02-15 12:40:11 +00:00
2011-05-05 17:32:29 +01:00
2011-01-10 16:54:58 +00:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:28:29 +00:00
2011-04-20 18:20:10 +01:00
2011-04-11 15:18:12 +01:00
2010-06-15 15:26:27 +01:00
2011-06-01 20:44:41 +01:00
2011-02-15 12:10:54 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2010-12-22 09:52:35 +00:00
2011-04-11 17:54:36 +01:00
2011-01-21 16:18:10 +00:00
2011-03-10 13:05:43 +00:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-06-01 20:44:41 +01:00
2011-04-11 17:54:36 +01:00
2010-12-07 16:00:32 +00:00
2010-06-15 15:26:27 +01:00
2010-06-15 15:26:27 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 20:44:42 +01:00
2011-05-17 15:24:55 +01:00
2011-05-05 17:32:31 +01:00
2011-05-05 17:32:31 +01:00
2011-05-05 17:32:31 +01:00
2011-06-01 20:44:42 +01:00
2010-03-01 12:56:10 +00:00
2011-05-16 18:45:51 +01:00
2011-06-13 12:05:41 +01:00
2011-05-16 18:36:44 +01:00
2011-04-11 17:54:36 +01:00
2011-06-01 20:44:42 +01:00
2011-04-11 17:54:36 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 20:44:42 +01:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 14:12:49 +01:00
2011-06-01 20:44:41 +01:00
2011-06-01 20:44:41 +01:00
2010-11-25 18:18:51 +00:00
2010-06-01 12:08:18 +01:00
2011-04-20 18:20:10 +01:00
2011-05-10 17:58:41 +01:00
2011-06-01 20:44:41 +01:00
2011-05-11 16:46:52 +01:00
2010-12-07 12:16:50 +00:00
2010-06-04 14:44:15 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 14:41:59 +01:00
2011-06-01 14:41:59 +01:00
2011-06-09 16:21:15 +01:00
2011-06-09 16:21:15 +01:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:11:47 +01:00
2011-01-24 15:45:45 +00:00
2011-04-11 15:28:53 +01:00
2010-12-13 17:29:13 +00:00
2011-05-16 14:11:47 +01:00
2011-06-09 16:21:15 +01:00
2011-01-21 16:18:10 +00:00
2011-01-21 16:18:10 +00:00
2010-12-22 09:52:35 +00:00
2010-09-06 16:11:46 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-05-16 13:28:17 +01:00
2011-05-16 14:31:31 +01:00
2011-04-11 15:18:12 +01:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:22:57 +00:00
2011-06-08 18:03:58 +01:00
2010-12-13 17:22:57 +00:00
2011-05-27 11:59:17 +01:00
2010-12-13 17:22:57 +00:00
2011-06-08 18:03:58 +01:00
2010-12-13 17:22:57 +00:00
2011-05-27 11:59:17 +01:00
2011-06-09 16:21:15 +01:00
2011-01-21 16:24:14 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:28:28 +00:00
2011-04-11 15:18:12 +01:00
2011-05-18 11:50:56 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-03-07 13:26:19 +00:00
2011-03-07 13:26:19 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 18:34:22 +01:00
2011-05-16 14:32:37 +01:00
2010-11-04 18:10:08 +00:00
2011-05-16 14:32:37 +01:00
2010-03-25 09:33:26 +00:00
2011-04-11 17:54:36 +01:00
2011-01-24 15:45:45 +00:00
2010-09-14 12:43:17 +01:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 17:08:30 +01:00
2011-05-17 15:24:54 +01:00
2010-08-12 11:54:42 +01:00
2011-04-11 17:54:36 +01:00
2011-05-10 16:36:40 +01:00
2011-04-11 17:54:36 +01:00
2011-06-01 20:44:42 +01:00
2011-04-20 18:17:06 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 20:44:42 +01:00
2011-03-08 13:21:24 +00:00
2010-12-03 15:27:17 +00:00
2011-04-11 15:18:12 +01:00
2010-09-03 16:59:01 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2011-04-11 15:18:12 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-06-01 20:44:42 +01:00
2010-11-03 18:09:23 +00:00
2011-06-01 20:44:41 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 20:44:42 +01:00
2010-11-03 18:09:23 +00:00
2011-04-11 15:18:12 +01:00
2010-07-13 14:28:52 +01:00
2010-07-13 14:28:52 +01:00
2011-01-21 16:18:10 +00:00
2010-11-03 18:09:23 +00:00
2011-04-11 15:18:12 +01:00
2011-06-01 20:44:41 +01:00
2011-06-01 20:44:42 +01:00
2011-05-16 14:12:49 +01:00
2011-04-11 17:54:36 +01:00
2011-01-10 16:55:00 +00:00
2010-05-20 17:18:24 +01:00
2010-06-30 18:51:31 +01:00
2011-05-16 14:31:31 +01:00
2011-06-13 17:48:23 +01:00
2011-02-09 19:12:12 +00:00
2011-06-01 20:44:42 +01:00
2011-06-01 20:44:42 +01:00
2011-04-20 18:17:06 +01:00
2011-06-01 20:44:41 +01:00
2011-06-01 20:44:41 +01:00
2011-04-11 17:54:36 +01:00
2011-06-01 20:44:43 +01:00
2010-03-03 17:02:51 +00:00