[cogl] Remove cogl_{create,destroy}_context from the public API
authorRobert Bragg <robert@linux.intel.com>
Tue, 26 May 2009 14:41:53 +0000 (15:41 +0100)
committerRobert Bragg <robert@linux.intel.com>
Thu, 28 May 2009 01:43:35 +0000 (02:43 +0100)
commit12c8ff8606c2fb6212e59c50842e04b634f7c4b2
tree2d74911c63bde3ec05c1f1a69f9fe75acdb9f711
parent59bd824404c34b20defb2e8e76335185e714efc7
[cogl] Remove cogl_{create,destroy}_context from the public API

cogl_create_context is dealt with internally when _cogl_get_default context
is called, and cogl_destroy_context is currently never called.

It might be nicer later to get an object back when creating a context so
Cogl can support multiple contexts, so these functions are being removed
from the API until we get a chance to address context management properly.

For now cogl_destroy_context is still exported as _cogl_destroy_context so
Clutter could at least install a library deinit handler to call it.
clutter/cogl/cogl.h.in
clutter/cogl/gl/cogl-context.c
clutter/cogl/gles/cogl-context.c
doc/reference/cogl/cogl-sections.txt