Robert Bragg
c1ab28e9ad
cogl: Adds experimental cogl_context_new() API
...
This adds a new experimental function (you need to define
COGL_ENABLE_EXPERIMENTAL_API to access it) which takes us towards being
able to have a standalone Cogl API. This is really a minor aesthetic
change for now since all the GL context creation code still lives in
Clutter but it's a step forward none the less.
Since our current designs introduce a CoglDisplay object as something
that would be passed to the context constructor this provides a stub
cogl-display.h with CoglDisplay typedef.
_cogl_context_get_default() which Clutter uses to access the Cogl
context has been modified to use cogl_context_new() to initialize
the default context.
There is one rather nasty hack used in this patch which is that the
implementation of cogl_context_new() has to forcibly make the allocated
context become the default context because currently all the code in
Cogl assumes it can access the context using _COGL_GET_CONTEXT including
code used to initialize the context.
2011-04-11 15:26:20 +01:00
..
2011-02-19 16:47:20 +00:00
2011-04-11 15:26:20 +01:00
2011-02-18 16:35:36 +00:00
2011-02-18 16:35:36 +00:00
2011-01-21 16:18:10 +00:00
2011-04-01 18:50:55 +01:00
2011-04-02 22:36:38 +01:00
2011-02-18 16:35:36 +00:00
2011-03-08 10:01:53 +00:00
2011-03-09 14:21:00 +00:00
2011-02-18 16:53:31 +00:00
2011-03-03 11:47:49 +00:00
2011-02-18 16:53:31 +00:00
2011-03-07 13:26:20 +00:00
2011-03-10 21:02:29 +00:00
2011-02-15 12:40:11 +00:00
2011-04-01 15:36:22 +01:00
2011-01-20 16:35:26 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-02-09 13:29:30 +00:00
2011-02-18 17:51:01 +00:00
2011-01-20 16:35:26 +00:00
2011-01-20 13:29:37 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-25 11:14:37 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-01-20 16:35:26 +00:00
2011-01-20 16:35:26 +00:00
2011-03-08 19:27:07 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-17 17:31:46 +00:00
2011-03-18 14:11:08 +00:00
2011-01-17 15:22:48 +00:00
2011-01-17 15:22:48 +00:00
2011-03-03 11:47:49 +00:00
2011-02-16 14:11:59 +00:00
2011-01-19 14:33:27 +00:00
2011-03-01 19:04:31 +00:00
2011-02-15 12:40:12 +00:00
2011-02-11 16:45:45 +00:00
2011-03-07 13:26:20 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-01-28 18:19:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-21 10:25:43 +00:00
2011-03-21 12:41:40 +00:00
2011-03-09 14:21:01 +00:00
2011-02-18 16:00:39 +00:00
2011-03-01 19:04:31 +00:00
2011-02-28 14:16:23 +00:00
2011-01-21 10:25:43 +00:00
2011-01-21 10:25:43 +00:00
2011-03-08 10:05:57 +00:00
2011-02-28 14:16:23 +00:00
2010-12-10 17:15:39 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 13:29:37 +00:00
2011-02-18 15:53:27 +00:00
2011-02-18 15:53:27 +00:00
2011-04-11 14:31:31 +01:00
2011-01-21 10:25:45 +00:00
2011-02-28 14:16:24 +00:00
2010-12-09 12:36:50 +00:00
2011-01-10 21:22:22 +00:00
2011-04-11 14:31:31 +01:00
2011-02-28 14:10:05 +00:00
2011-01-21 10:25:43 +00:00
2011-01-21 20:44:17 +00:00
2011-01-21 20:42:52 +00:00
2011-02-28 14:34:36 +00:00
2011-03-17 12:20:53 +00:00
2011-02-28 14:34:36 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-03-07 13:26:20 +00:00
2011-04-11 14:31:31 +01:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-04-11 14:31:31 +01:00
2011-02-14 18:41:18 +00:00
2011-02-15 12:40:11 +00:00
2011-02-15 12:40:11 +00:00
2011-02-15 12:40:11 +00:00
2011-03-03 11:47:49 +00:00
2011-02-15 12:40:11 +00:00
2011-02-15 12:40:11 +00:00
2011-03-09 14:21:00 +00:00
2011-01-20 16:35:26 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-03-03 11:47:49 +00:00
2011-01-20 16:35:26 +00:00
2011-04-11 14:31:31 +01:00
2011-02-08 15:49:19 +00:00
2011-02-08 15:49:19 +00:00
2011-04-11 14:31:31 +01:00
2010-12-30 12:44:13 +00:00
2011-03-09 13:22:08 +00:00
2011-02-19 16:47:20 +00:00
2011-03-03 11:47:49 +00:00
2011-04-01 11:42:41 +01:00
2011-03-03 11:47:49 +00:00
2011-01-24 11:52:47 +00:00
2011-02-15 12:40:11 +00:00
2011-02-15 12:40:11 +00:00
2011-01-21 10:25:43 +00:00
2010-12-09 13:59:08 +00:00
2010-12-10 17:15:39 +00:00
2011-03-07 13:26:20 +00:00
2011-01-19 14:33:27 +00:00
2011-03-16 11:22:20 +00:00