2006-12-27 13:19:34 -05:00
|
|
|
/*
|
|
|
|
* Clutter.
|
|
|
|
*
|
|
|
|
* An OpenGL based 'interactive canvas' library.
|
|
|
|
*
|
|
|
|
* Authored By Matthew Allum <mallum@openedhand.com>
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006 OpenedHand
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* 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/>.
|
|
|
|
*
|
|
|
|
*
|
2006-12-27 13:19:34 -05:00
|
|
|
*/
|
|
|
|
|
2008-10-30 13:04:34 -04:00
|
|
|
#ifndef __CLUTTER_H__
|
|
|
|
#define __CLUTTER_H__
|
|
|
|
|
|
|
|
#define __CLUTTER_H_INSIDE__
|
2006-05-29 04:59:36 -04:00
|
|
|
|
2011-01-19 09:33:27 -05:00
|
|
|
#include "clutter-config.h"
|
2011-10-04 08:28:04 -04:00
|
|
|
#include "clutter-types.h"
|
2011-01-19 09:33:27 -05:00
|
|
|
|
2010-05-11 12:09:13 -04:00
|
|
|
#include "clutter-action.h"
|
2007-06-14 11:29:52 -04:00
|
|
|
#include "clutter-actor.h"
|
2010-05-14 11:42:50 -04:00
|
|
|
#include "clutter-actor-meta.h"
|
2010-05-19 08:02:43 -04:00
|
|
|
#include "clutter-align-constraint.h"
|
2009-01-08 07:56:46 -05:00
|
|
|
#include "clutter-animatable.h"
|
2007-07-04 05:34:24 -04:00
|
|
|
#include "clutter-backend.h"
|
2010-05-19 07:25:28 -04:00
|
|
|
#include "clutter-bind-constraint.h"
|
2008-12-08 08:57:10 -05:00
|
|
|
#include "clutter-binding-pool.h"
|
2009-09-11 08:51:23 -04:00
|
|
|
#include "clutter-bin-layout.h"
|
2010-04-08 13:46:54 -04:00
|
|
|
#include "clutter-blur-effect.h"
|
2009-10-13 07:14:05 -04:00
|
|
|
#include "clutter-box-layout.h"
|
2012-02-02 16:23:00 -05:00
|
|
|
#include "clutter-brightness-contrast-effect.h"
|
2012-04-17 13:40:43 -04:00
|
|
|
#include "clutter-cairo.h"
|
2012-03-08 05:31:21 -05:00
|
|
|
#include "clutter-canvas.h"
|
2008-07-14 09:46:31 -04:00
|
|
|
#include "clutter-child-meta.h"
|
2010-05-24 05:41:19 -04:00
|
|
|
#include "clutter-click-action.h"
|
2009-01-26 05:32:53 -05:00
|
|
|
#include "clutter-clone.h"
|
2008-12-11 06:11:11 -05:00
|
|
|
#include "clutter-color.h"
|
2010-04-06 05:54:20 -04:00
|
|
|
#include "clutter-color-static.h"
|
2010-04-13 19:40:24 -04:00
|
|
|
#include "clutter-colorize-effect.h"
|
2010-05-14 07:13:49 -04:00
|
|
|
#include "clutter-constraint.h"
|
2008-12-11 06:11:11 -05:00
|
|
|
#include "clutter-container.h"
|
2012-02-01 13:33:55 -05:00
|
|
|
#include "clutter-content.h"
|
2010-06-09 12:52:06 -04:00
|
|
|
#include "clutter-deform-effect.h"
|
2010-04-09 11:14:21 -04:00
|
|
|
#include "clutter-desaturate-effect.h"
|
2009-11-20 10:35:40 -05:00
|
|
|
#include "clutter-device-manager.h"
|
2010-05-12 07:00:33 -04:00
|
|
|
#include "clutter-drag-action.h"
|
2011-06-17 11:54:31 -04:00
|
|
|
#include "clutter-drop-action.h"
|
2010-04-08 05:55:15 -04:00
|
|
|
#include "clutter-effect.h"
|
2011-10-04 08:28:04 -04:00
|
|
|
#include "clutter-enums.h"
|
2014-03-17 14:19:52 -04:00
|
|
|
#include "clutter-enum-types.h"
|
2007-06-14 11:29:52 -04:00
|
|
|
#include "clutter-event.h"
|
|
|
|
#include "clutter-feature.h"
|
2009-09-02 07:37:16 -04:00
|
|
|
#include "clutter-fixed-layout.h"
|
2009-09-18 12:28:02 -04:00
|
|
|
#include "clutter-flow-layout.h"
|
2011-03-09 04:06:44 -05:00
|
|
|
#include "clutter-gesture-action.h"
|
2012-06-02 23:02:31 -04:00
|
|
|
#include "clutter-grid-layout.h"
|
2006-05-29 04:59:36 -04:00
|
|
|
#include "clutter-group.h"
|
2012-03-08 11:38:45 -05:00
|
|
|
#include "clutter-image.h"
|
2009-11-23 11:07:16 -05:00
|
|
|
#include "clutter-input-device.h"
|
2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1014 - Clutter Animation API Improvements
* clutter/Makefile.am:
* clutter/clutter.h: Update the build
* clutter/clutter-types.h: Add AnimationMode, an enumeration
for easing functions.
* clutter/clutter-alpha.[ch]: Add the :mode property to
control the function bound to an Alpha instance using an
enumeration value. Also add six new alpha functions:
- ease-in, ease-out, ease-in-out
- sine-in, sine-out, sine-in-out
* clutter/clutter-deprecated.h: Deprecate the #defines for
the alpha functions. They will be replaced by entries in the
ClutterAnimationMode.
* clutter/clutter-interval.[ch]: Add ClutterInterval, an
object for defining, validating and computing an interval
between two values.
* clutter/clutter-animation.[ch]: Add ClutterAnimation, an
object responsible for animation the properties of a single
actor along an interval of values. ClutterAnimation memory
management is automatic. A simple wrapper method for
ClutterActor is provided:
clutter_actor_animate()
which will create, or update, an animation for the passed
actor.
* clutter/clutter-debug.h:
* clutter/clutter-main.c: Add a new 'animation' debug note.
* clutter/clutter-script.c: Clean up the alpha functions
whitelist, and add the new functions.
* doc/reference/clutter/Makefile.am:
* doc/reference/clutter/clutter-sections.txt: Update the
API reference.
* doc/reference/clutter/clutter-animation.xml: Renamed to
doc/reference/clutter/clutter-animation-tutorial.xml to
avoid clashes with the ClutterAnimation section.
* doc/reference/clutter/clutter-docs.sgml: Renamed to
doc/reference/clutter/clutter-docs.xml, as it was an XML
file and not a SGML file.
* tests/Makefile.am:
* tests/interactive/Makefile.am:
* tests/interactive/test-animation.c:
* tests/interactive/test-easing.c: Add two tests for the
new simple animation API and the easing functions.
* tests/interactive/test-actors.c:
* tests/interactive/test-behave.c:
* tests/interactive/test-depth.c:
* tests/interactive/test-effects.c:
* tests/interactive/test-layout.c:
* tests/interactive/test-multistage.c:
* tests/interactive/test-paint-wrapper.c:
* tests/interactive/test-rotate.c:
* tests/interactive/test-scale.c:
* tests/interactive/test-texture-quality.c:
* tests/interactive/test-threads.c:
* tests/interactive/test-viewport.c: Update interactive tests
to the deprecations and new alpha API.
2008-11-18 04:50:03 -05:00
|
|
|
#include "clutter-interval.h"
|
2012-04-11 10:53:52 -04:00
|
|
|
#include "clutter-keyframe-transition.h"
|
2012-06-21 21:38:21 -04:00
|
|
|
#include "clutter-keysyms.h"
|
2009-09-01 11:34:28 -04:00
|
|
|
#include "clutter-layout-manager.h"
|
2009-09-15 12:37:11 -04:00
|
|
|
#include "clutter-layout-meta.h"
|
2008-01-09 09:40:31 -05:00
|
|
|
#include "clutter-list-model.h"
|
2012-02-27 09:03:57 -05:00
|
|
|
#include "clutter-macros.h"
|
2007-06-14 11:29:52 -04:00
|
|
|
#include "clutter-main.h"
|
2007-11-15 05:02:25 -05:00
|
|
|
#include "clutter-model.h"
|
2010-05-17 06:39:27 -04:00
|
|
|
#include "clutter-offscreen-effect.h"
|
2010-06-10 11:56:16 -04:00
|
|
|
#include "clutter-page-turn-effect.h"
|
Add PaintNode, an element on the render object tree
Now that we have a proper scene graph API, we should split out the
rendering part from the logical and event handling part.
ClutterPaintNode is a lightweight fundamental type that encodes only the
paint operations: pipeline state and geometry. At its most simple, is a
way to structure setting up the programmable pipeline using a
CoglPipeline, and submitting Cogl primitives. The important take away
from this API is that you are not allowed to call Cogl API like
cogl_set_source() or cogl_primitive_draw() directly.
The interesting approach to this is that, in the future, we should be
able to move to a purely retained mode: we will decide which actors need
to be painted, they will update their own branch of the render graph,
and we'll take the render graph and build all the rendering commands
from that.
For the 1.x API, we will have to maintain invariants and the existing
behaviour, but as soon as we can break API, the old paint signal will
just go away, and Actors will only be allowed to manipulate the render
tree.
2012-02-01 10:51:27 -05:00
|
|
|
#include "clutter-paint-nodes.h"
|
|
|
|
#include "clutter-paint-node.h"
|
2012-08-25 10:23:23 -04:00
|
|
|
#include "clutter-pan-action.h"
|
2010-10-25 10:46:04 -04:00
|
|
|
#include "clutter-path-constraint.h"
|
2008-12-05 08:13:37 -05:00
|
|
|
#include "clutter-path.h"
|
2012-03-15 07:06:00 -04:00
|
|
|
#include "clutter-property-transition.h"
|
2012-06-21 21:38:21 -04:00
|
|
|
#include "clutter-rotate-action.h"
|
2007-10-25 10:34:54 -04:00
|
|
|
#include "clutter-scriptable.h"
|
2008-12-11 06:11:11 -05:00
|
|
|
#include "clutter-script.h"
|
2012-04-12 10:56:53 -04:00
|
|
|
#include "clutter-scroll-actor.h"
|
2010-06-21 10:42:20 -04:00
|
|
|
#include "clutter-settings.h"
|
2010-04-13 11:40:31 -04:00
|
|
|
#include "clutter-shader-effect.h"
|
2008-11-18 10:35:20 -05:00
|
|
|
#include "clutter-shader-types.h"
|
2011-03-09 04:06:44 -05:00
|
|
|
#include "clutter-swipe-action.h"
|
2010-11-10 11:37:34 -05:00
|
|
|
#include "clutter-snap-constraint.h"
|
2008-12-11 06:11:11 -05:00
|
|
|
#include "clutter-stage.h"
|
|
|
|
#include "clutter-stage-manager.h"
|
2012-10-01 10:15:06 -04:00
|
|
|
#include "clutter-tap-action.h"
|
Fully rework the conformance test suite
The current conformance test suite is suboptimal in many ways.
All tests are built into the same binary, which makes adding new tests,
builting tests, and running groups of tests much more awkward than it
needs to be. The first issue, especially, raises the bar of contribution
in a significant way, while the other two take their toll on the
maintainer. All of these changes were introduced back when we had both
Clutter and Cogl tests in tree, and because we were building the test
suite for every single change; since then, Cogl moved out of tree with
all its tests, and we build the conformance test suite only when running
the `check` make target.
This admittedly large-ish commit changes the way the conformance test
suite works, taking advantage of the changes in the GTest API and test
harness.
First of all, all tests are now built separately, using their own test
suite as defined by each separate file. All tests run under the TAP
harness provided by GTest and Automake, to gather a proper report using
the Test Anything Protocol without using the `gtester` harness and the
`gtester-report` script. We also use the Makefile rules provided by GLib
to vastly simplify the build environment for the conformance test suite.
On top of the changes for the build and harness, we also provide new API
for creating and running test suites for Clutter. The API is public,
because the test suite has to use it, but it's minimal and mostly
provides convenience wrappers around GTest that make writing test units
for Clutter easier.
This commit disables all tests in the conformance test suite, as well as
moving the data files outside of the tests/data directory; the next few
commits will re-establish the conformance test suite separately so we
can check that everything works in a reliable way.
2013-12-12 09:36:16 -05:00
|
|
|
#include "clutter-test-utils.h"
|
2008-12-11 06:11:11 -05:00
|
|
|
#include "clutter-texture.h"
|
2008-12-11 06:12:48 -05:00
|
|
|
#include "clutter-text.h"
|
2008-12-11 06:11:11 -05:00
|
|
|
#include "clutter-timeline.h"
|
2012-03-20 06:59:34 -04:00
|
|
|
#include "clutter-transition-group.h"
|
2012-03-15 07:04:31 -04:00
|
|
|
#include "clutter-transition.h"
|
2007-06-14 11:29:52 -04:00
|
|
|
#include "clutter-units.h"
|
2006-11-20 07:02:24 -05:00
|
|
|
#include "clutter-version.h"
|
2012-08-13 22:35:43 -04:00
|
|
|
#include "clutter-zoom-action.h"
|
2007-06-14 11:29:52 -04:00
|
|
|
|
2011-10-04 06:07:03 -04:00
|
|
|
#include "clutter-deprecated.h"
|
|
|
|
|
2008-10-30 13:04:34 -04:00
|
|
|
#undef __CLUTTER_H_INSIDE__
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_H__ */
|