2007-07-06 09:56:01 -04:00
|
|
|
#ifndef __CLUTTER_STAGE_EGL_H__
|
|
|
|
#define __CLUTTER_STAGE_EGL_H__
|
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include <clutter/clutter-stage.h>
|
2008-04-25 09:37:36 -04:00
|
|
|
|
2008-06-06 10:21:22 -04:00
|
|
|
#include "clutter-egl-headers.h"
|
2008-04-25 09:37:36 -04:00
|
|
|
#include "clutter-backend-egl.h"
|
2007-07-06 09:56:01 -04:00
|
|
|
|
|
|
|
#define CLUTTER_TYPE_STAGE_EGL (clutter_stage_egl_get_type ())
|
|
|
|
#define CLUTTER_STAGE_EGL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_STAGE_EGL, ClutterStageEGL))
|
|
|
|
#define CLUTTER_IS_STAGE_EGL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_STAGE_EGL))
|
|
|
|
#define CLUTTER_STAGE_EGL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_STAGE_EGL, ClutterStageEGLClass))
|
|
|
|
#define CLUTTER_IS_STAGE_EGL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_STAGE_EGL))
|
|
|
|
#define CLUTTER_STAGE_EGL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_STAGE_EGL, ClutterStageEGLClass))
|
|
|
|
|
|
|
|
typedef struct _ClutterStageEGL ClutterStageEGL;
|
|
|
|
typedef struct _ClutterStageEGLClass ClutterStageEGLClass;
|
|
|
|
|
|
|
|
struct _ClutterStageEGL
|
|
|
|
{
|
2008-04-23 13:20:59 -04:00
|
|
|
ClutterActor parent_instance;
|
2007-07-06 09:56:01 -04:00
|
|
|
|
2008-04-23 13:20:59 -04:00
|
|
|
/* the stage wrapper */
|
2008-04-25 09:37:36 -04:00
|
|
|
ClutterStage *wrapper;
|
2010-02-27 04:42:42 -05:00
|
|
|
|
|
|
|
/* back pointer to the backend */
|
2008-04-25 09:37:36 -04:00
|
|
|
ClutterBackendEGL *backend;
|
2007-07-06 09:56:01 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _ClutterStageEGLClass
|
|
|
|
{
|
2008-04-23 13:20:59 -04:00
|
|
|
ClutterActorClass parent_class;
|
2007-07-06 09:56:01 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
GType clutter_stage_egl_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_STAGE_EGL_H__ */
|