2007-03-22 14:21:59 -04:00
|
|
|
#ifndef __CLUTTER_STAGE_EGL_H__
|
|
|
|
#define __CLUTTER_STAGE_EGL_H__
|
|
|
|
|
2007-03-27 17:09:11 -04:00
|
|
|
#include <glib-object.h>
|
2007-03-22 14:21:59 -04:00
|
|
|
#include <clutter/clutter-stage.h>
|
|
|
|
|
2007-03-27 17:09:11 -04:00
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <X11/Xatom.h>
|
|
|
|
#include <X11/Xutil.h>
|
|
|
|
|
2008-05-27 13:42:50 -04:00
|
|
|
#include "clutter-egl-headers.h"
|
2007-03-27 17:09:11 -04:00
|
|
|
|
2007-11-15 09:45:27 -05:00
|
|
|
#include "../x11/clutter-stage-x11.h"
|
2007-03-27 17:09:11 -04:00
|
|
|
|
2007-03-22 14:21:59 -04:00
|
|
|
#define CLUTTER_TYPE_STAGE_EGL (clutter_stage_egl_get_type ())
|
2007-05-31 08:35:36 -04:00
|
|
|
#define CLUTTER_STAGE_EGL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_STAGE_EGL, ClutterStageEGL))
|
2007-03-22 14:21:59 -04:00
|
|
|
#define CLUTTER_IS_STAGE_EGL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_STAGE_EGL))
|
2007-05-31 08:35:36 -04:00
|
|
|
#define CLUTTER_STAGE_EGL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_STAGE_EGL, ClutterStageEGLClass))
|
2007-03-22 14:21:59 -04:00
|
|
|
#define CLUTTER_IS_STAGE_EGL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_STAGE_EGL))
|
2007-05-31 08:35:36 -04:00
|
|
|
#define CLUTTER_STAGE_EGL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_STAGE_EGL, ClutterStageEGLClass))
|
2007-03-22 14:21:59 -04:00
|
|
|
|
2007-05-31 08:35:36 -04:00
|
|
|
typedef struct _ClutterStageEGL ClutterStageEGL;
|
|
|
|
typedef struct _ClutterStageEGLClass ClutterStageEGLClass;
|
2007-03-22 14:21:59 -04:00
|
|
|
|
2007-05-31 08:35:36 -04:00
|
|
|
struct _ClutterStageEGL
|
2007-03-22 14:21:59 -04:00
|
|
|
{
|
2007-11-15 09:45:27 -05:00
|
|
|
ClutterStageX11 parent_instance;
|
2007-03-27 17:09:11 -04:00
|
|
|
|
2008-04-04 11:02:11 -04:00
|
|
|
EGLSurface egl_surface;
|
2007-03-22 14:21:59 -04:00
|
|
|
};
|
|
|
|
|
2007-05-31 08:35:36 -04:00
|
|
|
struct _ClutterStageEGLClass
|
2007-03-22 14:21:59 -04:00
|
|
|
{
|
2007-11-15 09:45:27 -05:00
|
|
|
ClutterStageX11Class parent_class;
|
2007-03-22 14:21:59 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
GType clutter_stage_egl_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_STAGE_EGL_H__ */
|