2007-07-06 13:56:01 +00:00
|
|
|
#ifndef __CLUTTER_STAGE_EGL_H__
|
|
|
|
#define __CLUTTER_STAGE_EGL_H__
|
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include <clutter/clutter-stage.h>
|
2008-04-25 13:37:36 +00:00
|
|
|
|
2008-06-06 14:21:22 +00:00
|
|
|
#include "clutter-egl-headers.h"
|
2008-04-25 13:37:36 +00:00
|
|
|
#include "clutter-backend-egl.h"
|
2007-07-06 13:56:01 +00: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 17:20:59 +00:00
|
|
|
ClutterActor parent_instance;
|
2007-07-06 13:56:01 +00:00
|
|
|
|
2008-04-23 17:20:59 +00:00
|
|
|
/* the stage wrapper */
|
2008-04-25 13:37:36 +00:00
|
|
|
ClutterStage *wrapper;
|
2010-02-27 09:42:42 +00:00
|
|
|
|
|
|
|
/* back pointer to the backend */
|
2008-04-25 13:37:36 +00:00
|
|
|
ClutterBackendEGL *backend;
|
2007-07-06 13:56:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _ClutterStageEGLClass
|
|
|
|
{
|
2008-04-23 17:20:59 +00:00
|
|
|
ClutterActorClass parent_class;
|
2007-07-06 13:56:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
GType clutter_stage_egl_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_STAGE_EGL_H__ */
|