[Cogl] [PATCH 2/2] build: Move most of the old experimental headers to cogl_public_h
Damien Lespiau
damien.lespiau at gmail.com
Fri Oct 5 10:06:09 PDT 2012
From: Damien Lespiau <damien.lespiau at intel.com>
This way, glib-mkenums and gobject-intrspection have the full extend of
public, stable, API to parse.
I left the wayland, kms and SDL2 winsys headers in cogl_experimental_h.
---
cogl/Makefile.am | 92 +++++++++++++++++++++++++++---------------------------
1 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index fdd29c9..c4f80ef 100644
--- a/cogl/Makefile.am
+++ b/cogl/Makefile.am
@@ -60,58 +60,58 @@ DISTCLEANFILES += $(pc_files)
# public api headers
cogl_public_h = \
- $(srcdir)/cogl1-context.h \
+ $(srcdir)/cogl-attribute-buffer.h \
+ $(srcdir)/cogl-attribute.h \
$(srcdir)/cogl-bitmap.h \
- $(srcdir)/cogl-color.h \
- $(srcdir)/cogl-matrix.h \
- $(srcdir)/cogl-offscreen.h \
- $(srcdir)/cogl-texture.h \
- $(srcdir)/cogl-types.h \
+ $(srcdir)/cogl-buffer.h \
+ $(srcdir)/cogl-clip-state.h \
$(srcdir)/cogl-clutter.h \
- $(srcdir)/cogl.h \
- $(NULL)
-
-# experimental 2.0 api headers
-# Note: we don't run glib-mkenums over these headers
-cogl_experimental_h = \
- $(srcdir)/cogl-object.h \
- $(srcdir)/cogl-renderer.h \
- $(srcdir)/cogl-swap-chain.h \
- $(srcdir)/cogl-onscreen-template.h \
- $(srcdir)/cogl-display.h \
+ $(srcdir)/cogl-color.h \
$(srcdir)/cogl-context.h \
- $(srcdir)/cogl-pipeline.h \
- $(srcdir)/cogl-pipeline-state.h \
- $(srcdir)/cogl-pipeline-layer-state.h \
- $(srcdir)/cogl-snippet.h \
- $(srcdir)/cogl-path.h \
- $(srcdir)/cogl-gles2.h \
+ $(srcdir)/cogl-depth-state.h \
+ $(srcdir)/cogl-display.h \
+ $(srcdir)/cogl-error.h \
+ $(srcdir)/cogl-euler.h \
+ $(srcdir)/cogl-framebuffer.h \
$(srcdir)/cogl-gles2-types.h \
+ $(srcdir)/cogl-gles2.h \
$(srcdir)/cogl-index-buffer.h \
- $(srcdir)/cogl-attribute-buffer.h \
$(srcdir)/cogl-indices.h \
- $(srcdir)/cogl-attribute.h \
- $(srcdir)/cogl-primitive.h \
- $(srcdir)/cogl-clip-state.h \
- $(srcdir)/cogl-framebuffer.h \
+ $(srcdir)/cogl-matrix.h \
+ $(srcdir)/cogl-meta-texture.h \
+ $(srcdir)/cogl-object.h \
+ $(srcdir)/cogl-offscreen.h \
+ $(srcdir)/cogl-onscreen-template.h \
$(srcdir)/cogl-onscreen.h \
- $(srcdir)/cogl-vector.h \
- $(srcdir)/cogl-euler.h \
- $(srcdir)/cogl-quaternion.h \
+ $(srcdir)/cogl-path.h \
+ $(srcdir)/cogl-pipeline-layer-state.h \
+ $(srcdir)/cogl-pipeline-state.h \
+ $(srcdir)/cogl-pipeline.h \
+ $(srcdir)/cogl-pixel-buffer.h \
$(srcdir)/cogl-poll.h \
- $(srcdir)/cogl-texture-3d.h \
- $(srcdir)/cogl-texture-2d.h \
+ $(srcdir)/cogl-primitive-texture.h \
+ $(srcdir)/cogl-primitive.h \
+ $(srcdir)/cogl-quaternion.h \
+ $(srcdir)/cogl-renderer.h \
+ $(srcdir)/cogl-snippet.h \
+ $(srcdir)/cogl-sub-texture.h \
+ $(srcdir)/cogl-swap-chain.h \
$(srcdir)/cogl-texture-2d-gl.h \
- $(srcdir)/cogl-texture-rectangle.h \
$(srcdir)/cogl-texture-2d-sliced.h \
- $(srcdir)/cogl-sub-texture.h \
- $(srcdir)/cogl-meta-texture.h \
- $(srcdir)/cogl-primitive-texture.h \
- $(srcdir)/cogl-depth-state.h \
- $(srcdir)/cogl-buffer.h \
- $(srcdir)/cogl-pixel-buffer.h \
+ $(srcdir)/cogl-texture-2d.h \
+ $(srcdir)/cogl-texture-3d.h \
+ $(srcdir)/cogl-texture-rectangle.h \
+ $(srcdir)/cogl-texture.h \
+ $(srcdir)/cogl-types.h \
+ $(srcdir)/cogl-vector.h \
$(srcdir)/cogl-version.h \
- $(srcdir)/cogl-error.h \
+ $(srcdir)/cogl.h \
+ $(srcdir)/cogl1-context.h \
+ $(NULL)
+
+# experimental api headers
+# Note: we don't run glib-mkenums or gobject introspection over these headers
+cogl_experimental_h = \
$(NULL)
cogl_nodist_experimental_h = \
@@ -392,7 +392,7 @@ cogl_sources_c = \
$(NULL)
if USE_GLIB
-cogl_experimental_h += \
+cogl_public_h += \
$(srcdir)/cogl-glib-source.h
cogl_sources_c += \
$(srcdir)/cogl-glib-source.c
@@ -403,7 +403,7 @@ cogl_public_h += \
$(srcdir)/cogl-clutter-xlib.h \
$(srcdir)/cogl-xlib-renderer.h
-cogl_experimental_h += \
+cogl_public_h += \
$(srcdir)/winsys/cogl-texture-pixmap-x11.h \
$(srcdir)/cogl-xlib.h
@@ -425,7 +425,7 @@ cogl_sources_c += \
$(srcdir)/winsys/cogl-winsys-glx.c
endif
if SUPPORT_WGL
-cogl_experimental_h += \
+cogl_public_h += \
$(srcdir)/cogl-win32-renderer.h
cogl_sources_c += \
@@ -475,7 +475,7 @@ cogl_sources_c += \
$(srcdir)/winsys/cogl-winsys-egl-android-private.h
endif
if SUPPORT_EGL
-cogl_experimental_h += \
+cogl_public_h += \
$(srcdir)/cogl-egl.h
cogl_nodist_experimental_h += \
$(builddir)/cogl-egl-defines.h
@@ -486,7 +486,7 @@ cogl_sources_c += \
$(srcdir)/winsys/cogl-winsys-egl-private.h
endif
if SUPPORT_SDL
-cogl_experimental_h += $(srcdir)/cogl-sdl.h
+cogl_public_h += $(srcdir)/cogl-sdl.h
cogl_sources_c += \
$(srcdir)/winsys/cogl-winsys-sdl-private.h \
$(srcdir)/winsys/cogl-winsys-sdl.c \
--
1.7.7.5
More information about the Cogl
mailing list