2008-04-25 13:37:36 +00:00
|
|
|
/*
|
2009-04-27 14:48:12 +00:00
|
|
|
* Cogl
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2009-04-27 14:48:12 +00:00
|
|
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2009-04-27 14:48:12 +00:00
|
|
|
* Copyright (C) 2008,2009 Intel Corporation.
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
2009-04-27 14:48:12 +00:00
|
|
|
|
2008-04-25 13:37:36 +00: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 12:56:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*
|
2008-04-25 13:37:36 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __COGL_H__
|
|
|
|
#define __COGL_H__
|
|
|
|
|
2009-02-23 12:47:02 +00:00
|
|
|
#define __COGL_H_INSIDE__
|
|
|
|
|
2010-11-03 20:26:20 +00:00
|
|
|
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
2010-11-04 00:27:47 +00:00
|
|
|
#ifndef COGL_ENABLE_EXPERIMENTAL_API
|
2010-11-03 20:26:20 +00:00
|
|
|
#define COGL_ENABLE_EXPERIMENTAL_API
|
|
|
|
#endif
|
2010-11-04 00:27:47 +00:00
|
|
|
#endif
|
2010-11-03 20:26:20 +00:00
|
|
|
|
2010-11-29 21:42:06 +00: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-18 01:41:20 +00:00
|
|
|
/*
|
|
|
|
* API common to the 1.x and 2.0 api...
|
|
|
|
*/
|
|
|
|
|
2009-11-18 17:35:07 +00:00
|
|
|
#include <cogl/cogl-defines.h>
|
2013-03-22 21:18:53 +00:00
|
|
|
#include <cogl/cogl-macros.h>
|
|
|
|
|
2012-08-31 18:28:27 +00:00
|
|
|
#include <cogl/cogl-error.h>
|
2008-10-30 17:25:00 +00:00
|
|
|
|
2010-05-27 21:24:56 +00:00
|
|
|
#include <cogl/cogl-object.h>
|
2012-02-17 21:46:39 +00:00
|
|
|
#include <cogl/cogl1-context.h>
|
2009-11-06 15:06:39 +00:00
|
|
|
#include <cogl/cogl-bitmap.h>
|
2008-10-30 16:50:07 +00:00
|
|
|
#include <cogl/cogl-color.h>
|
2009-11-06 15:06:39 +00:00
|
|
|
#include <cogl/cogl-matrix.h>
|
2012-11-20 17:08:43 +00:00
|
|
|
#include <cogl/cogl-matrix-stack.h>
|
2009-11-06 15:06:39 +00:00
|
|
|
#include <cogl/cogl-offscreen.h>
|
2010-02-10 22:30:37 +00:00
|
|
|
#include <cogl/cogl-primitives.h>
|
2008-10-30 17:25:00 +00:00
|
|
|
#include <cogl/cogl-texture.h>
|
|
|
|
#include <cogl/cogl-types.h>
|
2012-04-23 13:09:19 +00:00
|
|
|
#include <cogl/cogl-version.h>
|
2009-11-06 15:06:39 +00:00
|
|
|
|
2012-02-18 01:41:20 +00: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 11:31:47 +00:00
|
|
|
#include <cogl/cogl-enum-types.h>
|
2012-02-18 01:41:20 +00:00
|
|
|
#include <cogl/cogl-fixed.h>
|
|
|
|
#include <cogl/cogl-material-compat.h>
|
|
|
|
#include <cogl/cogl-shader.h>
|
|
|
|
#endif
|
2008-04-25 13:37:36 +00:00
|
|
|
|
2012-02-18 01:41:20 +00:00
|
|
|
/*
|
|
|
|
* 2.0 api that's compatible with the 1.x api...
|
|
|
|
*/
|
2010-01-10 17:28:24 +00:00
|
|
|
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
2010-11-05 12:28:33 +00:00
|
|
|
#include <cogl/cogl-swap-chain.h>
|
|
|
|
#include <cogl/cogl-renderer.h>
|
2013-01-21 01:18:25 +00:00
|
|
|
#include <cogl/cogl-output.h>
|
2010-11-05 12:28:33 +00:00
|
|
|
#include <cogl/cogl-display.h>
|
2010-11-05 00:00:25 +00:00
|
|
|
#include <cogl/cogl-context.h>
|
2010-01-10 17:28:24 +00:00
|
|
|
#include <cogl/cogl-buffer.h>
|
2011-03-02 15:19:57 +00:00
|
|
|
#include <cogl/cogl-pixel-buffer.h>
|
2010-05-20 13:54:44 +00:00
|
|
|
#include <cogl/cogl-vector.h>
|
2010-02-25 01:40:29 +00:00
|
|
|
#include <cogl/cogl-euler.h>
|
2010-02-25 01:40:29 +00:00
|
|
|
#include <cogl/cogl-quaternion.h>
|
2011-05-16 23:05:54 +00:00
|
|
|
#include <cogl/cogl-texture-2d.h>
|
2012-09-10 20:45:33 +00:00
|
|
|
#include <cogl/cogl-texture-2d-gl.h>
|
2011-10-14 08:25:12 +00:00
|
|
|
#include <cogl/cogl-texture-rectangle.h>
|
2010-07-01 21:04:59 +00:00
|
|
|
#include <cogl/cogl-texture-3d.h>
|
2011-10-08 10:53:20 +00:00
|
|
|
#include <cogl/cogl-texture-2d-sliced.h>
|
2011-10-21 10:36:25 +00:00
|
|
|
#include <cogl/cogl-sub-texture.h>
|
2011-10-08 13:13:03 +00:00
|
|
|
#include <cogl/cogl-meta-texture.h>
|
2012-04-04 14:09:43 +00:00
|
|
|
#include <cogl/cogl-primitive-texture.h>
|
2011-03-02 23:31:19 +00:00
|
|
|
#include <cogl/cogl-index-buffer.h>
|
2011-03-02 15:01:41 +00:00
|
|
|
#include <cogl/cogl-attribute-buffer.h>
|
2010-10-12 11:48:58 +00:00
|
|
|
#include <cogl/cogl-indices.h>
|
2011-01-20 19:31:53 +00:00
|
|
|
#include <cogl/cogl-attribute.h>
|
2010-10-12 11:54:07 +00:00
|
|
|
#include <cogl/cogl-primitive.h>
|
2011-04-14 17:12:03 +00:00
|
|
|
#include <cogl/cogl-depth-state.h>
|
2010-10-27 17:54:57 +00:00
|
|
|
#include <cogl/cogl-pipeline.h>
|
2011-09-07 22:44:37 +00:00
|
|
|
#include <cogl/cogl-pipeline-state.h>
|
2011-09-07 23:42:22 +00:00
|
|
|
#include <cogl/cogl-pipeline-layer-state.h>
|
2011-11-17 16:38:49 +00:00
|
|
|
#include <cogl/cogl-snippet.h>
|
2010-11-05 12:28:33 +00:00
|
|
|
#include <cogl/cogl-framebuffer.h>
|
2011-10-13 20:31:04 +00:00
|
|
|
#include <cogl/cogl-onscreen.h>
|
2012-11-12 16:58:10 +00:00
|
|
|
#include <cogl/cogl-frame-info.h>
|
2011-12-16 17:49:28 +00:00
|
|
|
#include <cogl/cogl-poll.h>
|
2013-01-11 01:13:34 +00:00
|
|
|
#include <cogl/cogl-fence.h>
|
2012-01-23 15:37:51 +00:00
|
|
|
#if defined (COGL_HAS_EGL_PLATFORM_KMS_SUPPORT)
|
|
|
|
#include <cogl/cogl-kms-renderer.h>
|
2012-01-30 11:06:41 +00:00
|
|
|
#include <cogl/cogl-kms-display.h>
|
2012-01-23 15:37:51 +00:00
|
|
|
#endif
|
2012-03-06 03:21:30 +00:00
|
|
|
#ifdef COGL_HAS_WIN32_SUPPORT
|
2011-07-14 08:22:26 +00:00
|
|
|
#include <cogl/cogl-win32-renderer.h>
|
|
|
|
#endif
|
2011-12-19 14:38:28 +00:00
|
|
|
#ifdef COGL_HAS_GLIB_SUPPORT
|
|
|
|
#include <cogl/cogl-glib-source.h>
|
|
|
|
#endif
|
2010-11-05 12:28:33 +00: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 17:28:24 +00:00
|
|
|
#endif
|
2012-04-06 10:16:19 +00:00
|
|
|
#ifdef COGL_HAS_SDL_SUPPORT
|
|
|
|
#include <cogl/cogl-sdl.h>
|
|
|
|
#endif
|
2010-01-10 17:28:24 +00:00
|
|
|
|
2012-02-18 01:41:20 +00:00
|
|
|
/*
|
|
|
|
* 2.0 only api...
|
|
|
|
*/
|
|
|
|
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
|
|
|
#include <cogl/cogl2-path.h>
|
2012-03-09 16:09:13 +00:00
|
|
|
/* This header will be removed in Cogl 1.12 */
|
|
|
|
#include <cogl/cogl2-compatibility.h>
|
2012-02-18 01:41:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* API deprecations
|
|
|
|
*/
|
|
|
|
#include <cogl/cogl-deprecated.h>
|
|
|
|
|
2008-06-12 17:21:16 +00:00
|
|
|
/**
|
|
|
|
* SECTION:cogl
|
|
|
|
* @short_description: General purpose API
|
|
|
|
*
|
|
|
|
* General utility functions for COGL.
|
|
|
|
*/
|
|
|
|
|
2008-10-30 17:04:34 +00:00
|
|
|
#undef __COGL_H_INSIDE__
|
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
#endif /* __COGL_H__ */
|