mutter/cogl/winsys
Robert Bragg b72f255c0a Start to reduce dependence on glib
Since we've had several developers from admirable projects say they
would like to use Cogl but would really prefer not to pull in
gobject,gmodule and glib as extra dependencies we are investigating if
we can get to the point where glib is only an optional dependency.
Actually we feel like we only make minimal use of glib anyway, so it may
well be quite straightforward to achieve this.

This adds a --disable-glib configure option that can be used to disable
features that depend on glib.

Actually --disable-glib doesn't strictly disable glib at this point
because it's more helpful if cogl continues to build as we make
incremental progress towards this.

The first use of glib that this patch tackles is the use of
g_return_val_if_fail and g_return_if_fail which have been replaced with
equivalent _COGL_RETURN_VAL_IF_FAIL and _COGL_RETURN_IF_FAIL macros.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2011-11-01 12:03:02 +00:00
..
cogl-texture-pixmap-x11-private.h texture-pixmap-x11: Move GLX code to cogl-winsys-glx.c 2011-05-05 14:46:01 +01:00
cogl-texture-pixmap-x11.c meta-texture: This publicly exposes CoglMetaTexture 2011-11-01 12:03:01 +00:00
cogl-texture-pixmap-x11.h docs: API reference fixes 2010-09-20 13:15:44 +01:00
cogl-winsys-egl-feature-functions.h egl: Guard the feature discovery of eglCreateImage() 2011-07-29 11:44:55 +01:00
cogl-winsys-egl-private.h Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-winsys-egl.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-winsys-glx-feature-functions.h winsys-glx: Fix synchronisation behaviour in _cogl_winsys_onscreen_swap_region 2011-09-19 16:40:06 +01:00
cogl-winsys-glx.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-winsys-private.h framebuffer: split out CoglOnscreen code 2011-11-01 12:03:02 +00:00
cogl-winsys-sdl.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-winsys-stub-private.h Make stub winsys into a proper winsys backend 2011-06-01 20:44:41 +01:00
cogl-winsys-stub.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-winsys-wgl-feature-functions.h Add a WGL winsys 2011-05-10 17:58:41 +01:00
cogl-winsys-wgl.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-winsys.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00