2008-04-25 13:37:36 +00:00
|
|
|
/*
|
2009-04-27 15:48:12 +01:00
|
|
|
* Cogl
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2014-02-22 01:28:54 +00:00
|
|
|
* A Low Level GPU Graphics and Utilities API
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2009-04-27 15:48:12 +01:00
|
|
|
* Copyright (C) 2008,2009 Intel Corporation.
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2014-02-22 01:28:54 +00:00
|
|
|
* Permission is hereby granted, free of charge, to any person
|
|
|
|
* obtaining a copy of this software and associated documentation
|
|
|
|
* files (the "Software"), to deal in the Software without
|
|
|
|
* restriction, including without limitation the rights to use, copy,
|
|
|
|
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
|
|
* of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2014-02-22 01:28:54 +00:00
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
|
* included in all copies or substantial portions of the Software.
|
2008-04-25 13:37:36 +00:00
|
|
|
*
|
2014-02-22 01:28:54 +00:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
|
|
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
|
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
* SOFTWARE.
|
2010-03-01 12:56:10 +00:00
|
|
|
*
|
|
|
|
*
|
2008-04-25 13:37:36 +00:00
|
|
|
*/
|
|
|
|
|
2023-07-21 15:37:20 +02:00
|
|
|
#pragma once
|
2008-04-25 13:37:36 +00:00
|
|
|
|
2013-10-09 13:31:12 +01:00
|
|
|
#ifdef COGL_COMPILATION
|
|
|
|
#error "<cogl/cogl.h> shouldn't be included internally"
|
|
|
|
#endif
|
|
|
|
|
2013-11-28 12:34:45 +00:00
|
|
|
/* Note: When building Cogl .gir we explicitly define
|
|
|
|
* __COGL_H_INSIDE__ */
|
|
|
|
#ifndef __COGL_H_INSIDE__
|
2009-02-23 12:47:02 +00:00
|
|
|
#define __COGL_H_INSIDE__
|
2013-11-28 12:34:45 +00:00
|
|
|
#define __COGL_MUST_UNDEF_COGL_H_INSIDE__
|
|
|
|
#endif
|
2009-02-23 12:47:02 +00:00
|
|
|
|
2019-02-16 09:41:43 -02:00
|
|
|
#include <graphene.h>
|
|
|
|
|
2023-08-07 15:38:12 +02:00
|
|
|
#include "cogl/cogl-macros.h"
|
2013-03-22 21:18:53 +00:00
|
|
|
|
2023-08-07 15:38:12 +02:00
|
|
|
#include "cogl/cogl1-context.h"
|
|
|
|
#include "cogl/cogl-bitmap.h"
|
|
|
|
#include "cogl/cogl-color.h"
|
|
|
|
#include "cogl/cogl-dma-buf-handle.h"
|
|
|
|
#include "cogl/cogl-matrix-stack.h"
|
|
|
|
#include "cogl/cogl-offscreen.h"
|
|
|
|
#include "cogl/cogl-pixel-format.h"
|
|
|
|
#include "cogl/cogl-texture.h"
|
|
|
|
#include "cogl/cogl-types.h"
|
2009-11-06 15:06:39 +00:00
|
|
|
|
2008-04-25 13:37:36 +00:00
|
|
|
|
2024-01-05 08:57:06 +01:00
|
|
|
#include "cogl/deprecated/cogl-shader.h"
|
2014-01-02 01:39:56 +00:00
|
|
|
|
2016-05-05 15:20:07 +08:00
|
|
|
#ifdef COGL_ENABLE_MUTTER_API
|
2023-08-07 15:38:12 +02:00
|
|
|
#include "cogl/cogl-mutter.h"
|
2016-05-05 15:20:07 +08:00
|
|
|
#endif
|
|
|
|
|
2023-08-07 15:38:12 +02:00
|
|
|
#include "cogl/cogl-swap-chain.h"
|
|
|
|
#include "cogl/cogl-renderer.h"
|
|
|
|
#include "cogl/cogl-output.h"
|
|
|
|
#include "cogl/cogl-display.h"
|
|
|
|
#include "cogl/cogl-context.h"
|
|
|
|
#include "cogl/cogl-buffer.h"
|
|
|
|
#include "cogl/cogl-pixel-buffer.h"
|
|
|
|
#include "cogl/cogl-texture-2d.h"
|
|
|
|
#include "cogl/cogl-texture-2d-sliced.h"
|
|
|
|
#include "cogl/cogl-sub-texture.h"
|
|
|
|
#include "cogl/cogl-atlas-texture.h"
|
|
|
|
#include "cogl/cogl-meta-texture.h"
|
|
|
|
#include "cogl/cogl-primitive-texture.h"
|
2024-01-02 14:18:04 +01:00
|
|
|
#include "cogl/cogl-enum-types.h"
|
2023-08-07 15:38:12 +02:00
|
|
|
#include "cogl/cogl-index-buffer.h"
|
|
|
|
#include "cogl/cogl-attribute-buffer.h"
|
|
|
|
#include "cogl/cogl-indices.h"
|
|
|
|
#include "cogl/cogl-attribute.h"
|
|
|
|
#include "cogl/cogl-primitive.h"
|
|
|
|
#include "cogl/cogl-depth-state.h"
|
|
|
|
#include "cogl/cogl-pipeline.h"
|
|
|
|
#include "cogl/cogl-pipeline-state.h"
|
|
|
|
#include "cogl/cogl-pipeline-layer-state.h"
|
|
|
|
#include "cogl/cogl-snippet.h"
|
|
|
|
#include "cogl/cogl-framebuffer.h"
|
|
|
|
#include "cogl/cogl-onscreen.h"
|
|
|
|
#include "cogl/cogl-frame-info.h"
|
|
|
|
#include "cogl/cogl-poll.h"
|
|
|
|
#include "cogl/cogl-fence.h"
|
|
|
|
#include "cogl/cogl-glib-source.h"
|
|
|
|
#include "cogl/cogl-trace.h"
|
|
|
|
#include "cogl/cogl-scanout.h"
|
|
|
|
#include "cogl/cogl-graphene.h"
|
2020-08-26 11:49:50 +02:00
|
|
|
/* XXX: This will definitely go away once all the Clutter winsys
|
2010-11-05 12:28:33 +00:00
|
|
|
* code has been migrated down into Cogl! */
|
2024-01-05 08:57:06 +01:00
|
|
|
#include "cogl/deprecated/cogl-clutter.h"
|
2010-01-10 17:28:24 +00:00
|
|
|
|
2013-11-28 12:34:45 +00:00
|
|
|
/* The gobject introspection scanner seems to parse public headers in
|
|
|
|
* isolation which means we need to be extra careful about how we
|
|
|
|
* define and undefine __COGL_H_INSIDE__ used to detect when internal
|
|
|
|
* headers are incorrectly included by developers. In the gobject
|
|
|
|
* introspection case we have to manually define __COGL_H_INSIDE__ as
|
|
|
|
* a commandline argument for the scanner which means we must be
|
|
|
|
* careful not to undefine it in a header...
|
|
|
|
*/
|
|
|
|
#ifdef __COGL_MUST_UNDEF_COGL_H_INSIDE__
|
2008-10-30 17:04:34 +00:00
|
|
|
#undef __COGL_H_INSIDE__
|
2013-11-28 12:34:45 +00:00
|
|
|
#undef __COGL_MUST_UNDEF_COGL_H_INSIDE__
|
|
|
|
#endif
|