cogl: Use GHookList instead of CoglCallbackList
authorNeil Roberts <neil@linux.intel.com>
Mon, 14 Mar 2011 17:58:31 +0000 (17:58 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 14 Mar 2011 18:18:15 +0000 (18:18 +0000)
commite4e318c9f828d87a25efbb6df1f2dc9618d62147
tree7fd73b553aea7491f8b076d1bb29c4fda0ebc303
parent810a42c41844d9062b2abf62c016030e94788e9d
cogl: Use GHookList instead of CoglCallbackList

glib already has a data type to manage a list of callbacks called a
GHookList so we might as well use it instead of maintaining Cogl's own
type. The glib version may be slightly more efficient because it
avoids using a GList and instead encodes the prev and next pointers
directly in the GHook structure. It also has more features than
CoglCallbackList.
clutter/cogl/cogl/Makefile.am
clutter/cogl/cogl/cogl-atlas.c
clutter/cogl/cogl/cogl-atlas.h
clutter/cogl/cogl/cogl-callback-list.c [deleted file]
clutter/cogl/cogl/cogl-callback-list.h [deleted file]
clutter/cogl/pango/cogl-pango-glyph-cache.c
clutter/cogl/pango/cogl-pango-glyph-cache.h
clutter/cogl/pango/cogl-pango-render.c