efl/legacy/evas/src/modules/engines/gl_x11/evas_engine.h

45 lines
949 B
C
Raw Normal View History

2002-11-08 00:02:15 -08:00
#ifndef EVAS_ENGINE_H
#define EVAS_ENGINE_H
#include "evas_gl_common.h"
2002-11-08 00:02:15 -08:00
typedef struct _Evas_GL_X11_Window Evas_GL_X11_Window;
2002-11-08 00:02:15 -08:00
struct _Evas_GL_X11_Window
{
Display *disp;
Window win;
int w, h;
int screen;
XVisualInfo *visualinfo;
Visual *visual;
Colormap colormap;
int depth;
2005-05-21 19:49:50 -07:00
GLXContext context;
Evas_GL_Context *gl_context;
struct {
int redraw : 1;
int x1, y1, x2, y2;
} draw;
};
2002-11-08 00:02:15 -08:00
extern int _evas_gl_x11_configuration[9];
extern XVisualInfo *_evas_gl_x11_vi;
extern Colormap _evas_gl_x11_cmap;
Evas_GL_X11_Window *
eng_window_new(Display *disp,
Window win,
int screen,
Visual *vis,
Colormap cmap,
int depth,
int w,
int h);
void
eng_window_free(Evas_GL_X11_Window *gw);
void
eng_window_use(Evas_GL_X11_Window *gw);
2005-05-21 19:49:50 -07:00
2002-11-08 00:02:15 -08:00
#endif