Robert Bragg
80ccf06b84
debug: support wireframe mode with vertex shaders
...
Previously for the wireframe debug mode we identified the users
"cogl_position_in" attribute, mapped that, created a replacement
attribute with a LINE_LIST topology and then drew the attribute with a
simple pipeline with a green colour. This meant we completely discarded
the users original pipeline which may have involved vertex processing
that would be useful to visualize in the wireframe.
The new approach instead keeps the users attributes and instead
generates CoglIndices that can be used to refererence the original
attributes in LINE_LIST topology and instead of scrapping the user's
pipeline we now create a weak copy of the original pipeline and just
replace the fragment processing with a snippet to force the output color
to be green.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-20 23:32:25 +00:00
..
2012-02-20 23:12:45 +00:00
2012-02-13 12:22:18 +00:00
2010-09-12 19:25:47 +01:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:44 +00:00
2012-02-20 23:12:45 +00:00
2011-12-06 18:51:56 +00:00
2011-09-09 15:06:31 +01:00
2012-02-20 23:12:45 +00:00
2010-11-11 13:17:26 +00:00
2011-05-06 12:12:08 +01:00
2011-09-09 15:06:31 +01:00
2012-01-27 17:18:32 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2011-03-14 18:18:15 +00:00
2011-05-16 14:31:31 +01:00
2012-02-09 14:28:02 +00:00
2012-02-20 23:12:44 +00:00
2012-02-09 13:09:15 +00:00
2012-02-09 13:09:15 +00:00
2012-02-20 23:12:44 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:44 +00:00
2012-02-20 23:12:45 +00:00
2012-01-05 21:00:17 +00:00
2011-11-16 16:32:11 +00:00
2011-12-07 12:08:15 +00:00
2012-02-20 23:12:45 +00:00
2010-06-15 15:26:27 +01:00
2012-02-20 23:12:45 +00:00
2011-02-15 12:10:54 +00:00
2011-11-16 16:32:11 +00:00
2011-11-16 16:32:11 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-14 20:42:10 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2011-12-06 18:51:57 +00:00
2012-02-20 23:12:45 +00:00
2011-03-10 13:05:43 +00:00
2011-11-01 15:55:53 +00:00
2012-02-20 23:12:45 +00:00
2011-11-01 15:55:53 +00:00
2010-12-07 16:00:32 +00:00
2012-02-20 23:12:45 +00:00
2010-06-15 15:26:27 +01:00
2011-08-12 15:28:42 +01:00
2011-08-12 15:28:42 +01:00
2012-02-13 17:09:34 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:44 +00:00
2011-10-14 13:56:51 +01:00
2012-02-20 23:12:45 +00:00
2011-11-25 13:14:10 +00:00
2011-06-01 20:44:42 +01:00
2012-02-13 12:22:17 +00:00
2012-02-13 12:22:17 +00:00
2010-03-01 12:56:10 +00:00
2011-05-16 18:45:51 +01:00
2012-02-20 23:12:45 +00:00
2011-11-01 12:03:01 +00:00
2011-07-29 11:50:15 +01:00
2012-02-20 23:12:45 +00:00
2012-02-09 13:09:15 +00:00
2012-02-20 23:12:45 +00:00
2009-10-16 18:58:50 +01:00
2012-02-20 23:12:45 +00:00
2011-05-16 14:12:49 +01:00
2012-02-20 23:12:45 +00:00
2011-07-27 16:10:02 +01:00
2012-01-05 20:13:41 +00:00
2010-06-01 12:08:18 +01:00
2011-11-22 16:07:21 +00:00
2012-02-09 13:09:15 +00:00
2012-02-20 23:32:25 +00:00
2012-02-20 23:12:44 +00:00
2012-01-05 13:40:59 +00:00
2012-01-05 13:40:59 +00:00
2012-02-08 18:58:06 +00:00
2011-12-12 16:13:57 +00: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
2012-02-09 14:28:02 +00:00
2012-02-09 14:28:02 +00:00
2011-05-16 14:31:31 +01:00
2012-02-09 14:28:02 +00:00
2012-02-20 23:12:44 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-08 17:00:25 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2011-07-04 15:31:50 +01:00
2012-02-20 23:12:45 +00:00
2011-12-06 19:02:06 +00:00
2012-02-20 23:12:45 +00:00
2012-02-14 20:42:10 +00:00
2011-11-01 12:03:03 +00:00
2012-02-14 20:42:10 +00:00
2011-09-21 17:03:10 +01:00
2011-11-01 12:03:02 +00:00
2012-01-27 17:22:57 +00:00
2012-02-20 23:16:37 +00:00
2011-06-14 12:14:02 +01:00
2011-09-21 15:27:03 +01:00
2012-02-15 14:57:59 +00:00
2011-11-01 12:03:02 +00:00
2012-02-20 23:12:45 +00:00
2012-01-16 18:27:20 +00:00
2012-02-20 23:12:44 +00:00
2012-01-16 18:27:20 +00:00
2011-05-16 13:28:17 +01:00
2011-11-01 12:02:59 +00:00
2012-02-20 23:12:45 +00:00
2010-12-22 09:52:35 +00:00
2011-12-06 19:02:05 +00:00
2011-07-13 12:30:07 +01:00
2011-09-21 17:03:10 +01:00
2011-07-13 12:30:07 +01:00
2012-02-20 23:12:45 +00:00
2010-12-13 17:22:57 +00:00
2012-02-20 23:12:45 +00:00
2010-12-13 17:22:57 +00:00
2012-02-20 23:12:45 +00:00
2012-02-13 17:15:35 +00:00
2012-02-13 17:09:34 +00:00
2012-02-20 23:16:37 +00:00
2012-02-20 23:16:37 +00:00
2012-02-13 17:09:34 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:16:37 +00:00
2011-12-06 19:02:06 +00:00
2011-12-06 19:02:06 +00:00
2011-12-06 18:51:57 +00:00
2012-02-20 23:12:45 +00:00
2011-12-06 19:02:06 +00:00
2011-12-06 19:02:06 +00:00
2011-12-06 19:02:06 +00:00
2012-02-13 18:48:17 +00:00
2012-02-20 23:12:45 +00:00
2010-12-13 17:22:57 +00:00
2012-02-20 23:12:45 +00:00
2010-12-13 17:28:28 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:16:37 +00:00
2012-01-16 18:27:20 +00:00
2012-01-27 17:18:32 +00:00
2012-02-20 23:12:45 +00:00
2012-02-09 14:28:02 +00:00
2011-03-07 13:26:19 +00:00
2011-03-07 13:26:19 +00:00
2012-01-05 13:40:10 +00:00
2012-01-24 14:04:26 +00:00
2011-11-01 12:02:59 +00:00
2012-02-09 14:28:02 +00:00
2012-02-20 23:12:44 +00:00
2012-02-09 13:09:15 +00:00
2012-02-20 23:12:45 +00:00
2010-03-25 09:33:26 +00:00
2012-02-20 23:12:44 +00:00
2012-01-16 23:27:36 +00:00
2010-09-14 12:43:17 +01:00
2010-12-13 17:22:57 +00:00
2012-02-20 23:12:45 +00:00
2011-05-16 14:11:47 +01:00
2012-02-20 23:12:45 +00:00
2012-02-14 20:42:10 +00:00
2011-07-01 17:52:55 +01:00
2011-11-01 12:03:02 +00:00
2010-08-12 11:54:42 +01:00
2012-01-16 18:27:19 +00:00
2012-02-20 23:12:45 +00:00
2012-02-08 17:00:25 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2011-12-07 14:52:48 +00:00
2011-12-06 19:02:06 +00:00
2011-12-06 19:02:06 +00:00
2012-02-13 17:29:28 +00:00
2012-02-20 23:12:45 +00:00
2011-11-01 12:03:02 +00:00
2012-01-27 17:18:32 +00:00
2012-02-20 23:12:45 +00:00
2012-01-05 20:57:52 +00:00
2011-05-05 14:46:02 +01:00
2012-02-20 23:12:45 +00:00
2011-05-05 14:46:02 +01:00
2012-02-20 23:12:45 +00:00
2012-01-27 17:18:32 +00:00
2012-02-20 23:12:45 +00:00
2012-01-05 21:00:17 +00:00
2012-02-20 23:12:45 +00:00
2011-11-01 12:03:01 +00:00
2012-01-27 17:18:32 +00:00
2012-02-20 23:12:45 +00:00
2010-07-13 14:28:52 +01:00
2011-07-08 15:35:51 +01:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2011-11-01 12:03:02 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:44 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-01-16 18:27:19 +00:00
2011-05-16 14:31:31 +01:00
2012-02-20 23:12:45 +00:00
2011-02-09 19:12:12 +00:00
2011-12-07 15:53:05 +00:00
2011-06-30 14:33:13 +01:00
2011-06-30 14:34:46 +01:00
2011-06-30 14:34:33 +01:00
2012-02-20 23:12:45 +00:00
2012-01-05 13:40:24 +00:00
2012-01-05 13:40:24 +00:00
2012-02-20 23:12:45 +00:00
2011-12-12 16:13:57 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:45 +00:00
2012-02-20 23:12:44 +00:00
2011-12-15 20:31:30 +08:00
2012-02-15 22:50:09 +08:00
2012-02-20 23:12:44 +00:00
2011-08-12 15:28:42 +01:00