| 1 |
/* |
| 2 |
* Clutter. |
| 3 |
* |
| 4 |
* An OpenGL based 'interactive canvas' library. |
| 5 |
* |
| 6 |
* Copyright (C) 2010 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, see <http://www.gnu.org/licenses/>. |
| 20 |
* |
| 21 |
* Authors: |
| 22 |
* Damien Lespiau <[email protected]> |
| 23 |
*/ |
| 24 |
|
| 25 |
/** |
| 26 |
* SECTION:clutter-cex100 |
| 27 |
* @short_description: Intel CE3100, CE4100 Specific API |
| 28 |
* |
| 29 |
* The CEX100 backend for Clutter provides some Intel CE3100/CE4100 |
| 30 |
* specific API |
| 31 |
* |
| 32 |
* You need to include `clutter/cex100/clutter-cex100.h` |
| 33 |
* to have access to the functions documented here. |
| 34 |
*/ |
| 35 |
|
| 36 |
#ifndef __CLUTTER_CEX100_H__ |
| 37 |
#define __CLUTTER_CEX100_H__ |
| 38 |
|
| 39 |
#include <glib.h> |
| 40 |
|
| 41 |
#include <@[email protected]> |
| 42 |
|
| 43 |
G_BEGIN_DECLS |
| 44 |
|
| 45 |
/** |
| 46 |
* ClutterCex100BufferingMode: |
| 47 |
* @CLUTTER_CEX100_DOUBLE_BUFFERING: The GDL plane will be double buffered |
| 48 |
* @CLUTTER_CEX100_TRIPLE_BUFFERING: The GDL plane will be triple buffered |
| 49 |
* |
| 50 |
* Enum passed to clutter_cex100_set_buffering_mode(). |
| 51 |
* |
| 52 |
* Since: 1.6 |
| 53 |
*/ |
| 54 |
typedef enum /*< prefix=CLUTTER_CEX100 >*/ |
| 55 |
{ |
| 56 |
CLUTTER_CEX100_DOUBLE_BUFFERING = 2, |
| 57 |
CLUTTER_CEX100_TRIPLE_BUFFERING = 3 |
| 58 |
} ClutterCex100BufferingMode; |
| 59 |
|
| 60 |
void clutter_cex100_set_plane (gdl_plane_id_t plane); |
| 61 |
void clutter_cex100_set_buffering_mode (ClutterCex100BufferingMode mode); |
| 62 |
|
| 63 |
EGLDisplay clutter_cex100_get_egl_display (void); |
| 64 |
|
| 65 |
G_END_DECLS |
| 66 |
|
| 67 |
#endif /* __CLUTTER_CEX100_H__ */ |