"Initial commit to Gerrit"
[profile/ivi/cogl.git] / cogl / cogl-clutter.h
1 /*
2  * Cogl
3  *
4  * An object oriented GL/GLES Abstraction/Utility Layer
5  *
6  * Copyright (C) 2011 Intel Corporation.
7  *
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.
12  *
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.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #if !defined(__COGL_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
25 #error "Only <cogl/cogl.h> can be included directly."
26 #endif
27
28 #ifndef __COGL_CLUTTER_H__
29 #define __COGL_CLUTTER_H__
30
31 G_BEGIN_DECLS
32
33 #define cogl_clutter_check_extension cogl_clutter_check_extension_CLUTTER
34 gboolean
35 cogl_clutter_check_extension (const char *name, const char *ext);
36
37 #define cogl_clutter_winsys_has_feature cogl_clutter_winsys_has_feature_CLUTTER
38 gboolean
39 cogl_clutter_winsys_has_feature (CoglWinsysFeature feature);
40
41 #define cogl_onscreen_clutter_backend_set_size cogl_onscreen_clutter_backend_set_size_CLUTTER
42 void
43 cogl_onscreen_clutter_backend_set_size (int width, int height);
44
45 G_END_DECLS
46
47 #endif /* __COGL_CLUTTER_H__ */