2008-04-25 09:37:36 -04:00
|
|
|
/*
|
2009-04-27 10:48:12 -04:00
|
|
|
* Cogl
|
2008-04-25 09:37:36 -04:00
|
|
|
*
|
2009-04-27 10:48:12 -04:00
|
|
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
2008-04-25 09:37:36 -04:00
|
|
|
*
|
2009-04-27 10:48:12 -04:00
|
|
|
* Copyright (C) 2008,2009 Intel Corporation.
|
2008-04-25 09:37:36 -04:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
2009-04-27 10:48:12 -04:00
|
|
|
|
2008-04-25 09:37:36 -04:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2010-03-01 07:56:10 -05:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*
|
2008-04-25 09:37:36 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __COGL_H__
|
|
|
|
#define __COGL_H__
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2009-02-23 07:47:02 -05:00
|
|
|
#define __COGL_H_INSIDE__
|
|
|
|
|
2010-11-03 16:26:20 -04:00
|
|
|
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
2010-11-03 20:27:47 -04:00
|
|
|
#ifndef COGL_ENABLE_EXPERIMENTAL_API
|
2010-11-03 16:26:20 -04:00
|
|
|
#define COGL_ENABLE_EXPERIMENTAL_API
|
|
|
|
#endif
|
2010-11-03 20:27:47 -04:00
|
|
|
#endif
|
2010-11-03 16:26:20 -04:00
|
|
|
|
2010-11-29 16:42:06 -05:00
|
|
|
/* We currently keep gtype integration delimited in case we eventually
|
|
|
|
* want to split it out into a separate utility library when Cogl
|
|
|
|
* becomes a standalone project. (like cairo-gobject.so)
|
|
|
|
*/
|
|
|
|
#define _COGL_SUPPORTS_GTYPE_INTEGRATION
|
|
|
|
|
2012-02-17 20:41:20 -05:00
|
|
|
/*
|
|
|
|
* API common to the 1.x and 2.0 api...
|
|
|
|
*/
|
|
|
|
|
2009-11-18 12:35:07 -05:00
|
|
|
#include <cogl/cogl-defines.h>
|
2008-10-30 13:25:00 -04:00
|
|
|
|
2010-05-27 17:24:56 -04:00
|
|
|
#include <cogl/cogl-object.h>
|
2012-02-17 16:46:39 -05:00
|
|
|
#include <cogl/cogl1-context.h>
|
2009-11-06 10:06:39 -05:00
|
|
|
#include <cogl/cogl-bitmap.h>
|
2008-10-30 12:50:07 -04:00
|
|
|
#include <cogl/cogl-color.h>
|
2009-11-06 10:06:39 -05:00
|
|
|
#include <cogl/cogl-matrix.h>
|
|
|
|
#include <cogl/cogl-offscreen.h>
|
2010-02-10 17:30:37 -05:00
|
|
|
#include <cogl/cogl-primitives.h>
|
2008-10-30 13:25:00 -04:00
|
|
|
#include <cogl/cogl-texture.h>
|
|
|
|
#include <cogl/cogl-types.h>
|
2012-04-23 09:09:19 -04:00
|
|
|
#include <cogl/cogl-version.h>
|
2009-11-06 10:06:39 -05:00
|
|
|
|
2012-02-17 20:41:20 -05:00
|
|
|
/*
|
|
|
|
* 1.x only api...
|
|
|
|
*/
|
|
|
|
#ifndef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
|
|
|
#include <cogl/cogl-path.h>
|
|
|
|
#include <cogl/cogl-clip-state.h>
|
|
|
|
#include <cogl/cogl-vertex-buffer.h>
|
2009-05-29 07:31:47 -04:00
|
|
|
#include <cogl/cogl-enum-types.h>
|
2012-02-17 20:41:20 -05:00
|
|
|
#include <cogl/cogl-fixed.h>
|
|
|
|
#include <cogl/cogl-material-compat.h>
|
|
|
|
#include <cogl/cogl-shader.h>
|
|
|
|
#endif
|
2008-04-25 09:37:36 -04:00
|
|
|
|
2012-02-17 20:41:20 -05:00
|
|
|
/*
|
|
|
|
* 2.0 api that's compatible with the 1.x api...
|
|
|
|
*/
|
2010-01-10 12:28:24 -05:00
|
|
|
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
2010-11-05 08:28:33 -04:00
|
|
|
#include <cogl/cogl-swap-chain.h>
|
|
|
|
#include <cogl/cogl-renderer.h>
|
|
|
|
#include <cogl/cogl-display.h>
|
2010-11-04 20:00:25 -04:00
|
|
|
#include <cogl/cogl-context.h>
|
2010-01-10 12:28:24 -05:00
|
|
|
#include <cogl/cogl-buffer.h>
|
2011-03-02 10:19:57 -05:00
|
|
|
#include <cogl/cogl-pixel-buffer.h>
|
2010-05-20 09:54:44 -04:00
|
|
|
#include <cogl/cogl-vector.h>
|
2010-02-24 20:40:29 -05:00
|
|
|
#include <cogl/cogl-euler.h>
|
2010-02-24 20:40:29 -05:00
|
|
|
#include <cogl/cogl-quaternion.h>
|
2011-05-16 19:05:54 -04:00
|
|
|
#include <cogl/cogl-texture-2d.h>
|
2011-10-14 04:25:12 -04:00
|
|
|
#include <cogl/cogl-texture-rectangle.h>
|
2010-07-01 17:04:59 -04:00
|
|
|
#include <cogl/cogl-texture-3d.h>
|
2011-10-08 06:53:20 -04:00
|
|
|
#include <cogl/cogl-texture-2d-sliced.h>
|
2011-10-21 06:36:25 -04:00
|
|
|
#include <cogl/cogl-sub-texture.h>
|
2011-10-08 09:13:03 -04:00
|
|
|
#include <cogl/cogl-meta-texture.h>
|
2012-04-04 10:09:43 -04:00
|
|
|
#include <cogl/cogl-primitive-texture.h>
|
2011-03-02 18:31:19 -05:00
|
|
|
#include <cogl/cogl-index-buffer.h>
|
2011-03-02 10:01:41 -05:00
|
|
|
#include <cogl/cogl-attribute-buffer.h>
|
2010-10-12 07:48:58 -04:00
|
|
|
#include <cogl/cogl-indices.h>
|
2011-01-20 14:31:53 -05:00
|
|
|
#include <cogl/cogl-attribute.h>
|
2010-10-12 07:54:07 -04:00
|
|
|
#include <cogl/cogl-primitive.h>
|
2011-04-14 13:12:03 -04:00
|
|
|
#include <cogl/cogl-depth-state.h>
|
2010-10-27 13:54:57 -04:00
|
|
|
#include <cogl/cogl-pipeline.h>
|
2011-09-07 18:44:37 -04:00
|
|
|
#include <cogl/cogl-pipeline-state.h>
|
2011-09-07 19:42:22 -04:00
|
|
|
#include <cogl/cogl-pipeline-layer-state.h>
|
2011-11-17 11:38:49 -05:00
|
|
|
#include <cogl/cogl-snippet.h>
|
2010-11-05 08:28:33 -04:00
|
|
|
#include <cogl/cogl-framebuffer.h>
|
2011-10-13 16:31:04 -04:00
|
|
|
#include <cogl/cogl-onscreen.h>
|
2011-12-16 12:49:28 -05:00
|
|
|
#include <cogl/cogl-poll.h>
|
2012-01-23 10:37:51 -05:00
|
|
|
#if defined (COGL_HAS_EGL_PLATFORM_KMS_SUPPORT)
|
|
|
|
#include <cogl/cogl-kms-renderer.h>
|
2012-01-30 06:06:41 -05:00
|
|
|
#include <cogl/cogl-kms-display.h>
|
2012-01-23 10:37:51 -05:00
|
|
|
#endif
|
2011-07-14 04:22:26 -04:00
|
|
|
#if COGL_HAS_WIN32_SUPPORT
|
|
|
|
#include <cogl/cogl-win32-renderer.h>
|
|
|
|
#endif
|
2011-12-19 09:38:28 -05:00
|
|
|
#ifdef COGL_HAS_GLIB_SUPPORT
|
|
|
|
#include <cogl/cogl-glib-source.h>
|
|
|
|
#endif
|
2010-11-05 08:28:33 -04:00
|
|
|
/* XXX: This will definitly go away once all the Clutter winsys
|
|
|
|
* code has been migrated down into Cogl! */
|
|
|
|
#include <cogl/cogl-clutter.h>
|
2010-01-10 12:28:24 -05:00
|
|
|
#endif
|
2012-04-06 06:16:19 -04:00
|
|
|
#ifdef COGL_HAS_SDL_SUPPORT
|
|
|
|
#include <cogl/cogl-sdl.h>
|
|
|
|
#endif
|
2010-01-10 12:28:24 -05:00
|
|
|
|
2012-02-17 20:41:20 -05:00
|
|
|
/*
|
|
|
|
* 2.0 only api...
|
|
|
|
*/
|
|
|
|
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
|
|
|
#include <cogl/cogl2-path.h>
|
2012-03-09 11:09:13 -05:00
|
|
|
/* This header will be removed in Cogl 1.12 */
|
|
|
|
#include <cogl/cogl2-compatibility.h>
|
2012-02-17 20:41:20 -05:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* API deprecations
|
|
|
|
*/
|
|
|
|
#include <cogl/cogl-deprecated.h>
|
|
|
|
|
2008-06-12 13:21:16 -04:00
|
|
|
/**
|
|
|
|
* SECTION:cogl
|
|
|
|
* @short_description: General purpose API
|
|
|
|
*
|
|
|
|
* General utility functions for COGL.
|
|
|
|
*/
|
|
|
|
|
2008-10-30 13:04:34 -04:00
|
|
|
#undef __COGL_H_INSIDE__
|
|
|
|
|
2008-04-25 09:37:36 -04:00
|
|
|
#endif /* __COGL_H__ */
|