4 * An OpenGL based 'interactive canvas' library.
6 * Copyright (C) 2011 Intel Corporation.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 * Neil Roberts <neil@linux.intel.com>
25 /* This is an internal-only effect used to implement the
26 'offscreen-redirect' property of ClutterActor. It doesn't actually
27 need to do anything on top of the ClutterOffscreenEffect class so
28 it only exists because that class is abstract */
34 #include "clutter-flatten-effect.h"
35 #include "clutter-private.h"
36 #include "clutter-actor-private.h"
38 G_DEFINE_TYPE (ClutterFlattenEffect,
39 _clutter_flatten_effect,
40 CLUTTER_TYPE_OFFSCREEN_EFFECT);
43 _clutter_flatten_effect_class_init (ClutterFlattenEffectClass *klass)
48 _clutter_flatten_effect_init (ClutterFlattenEffect *self)
53 _clutter_flatten_effect_new (void)
55 return g_object_new (CLUTTER_TYPE_FLATTEN_EFFECT, NULL);