11 /* initialized by native display */
14 EGLNativeWindowType window
;
15 EGLNativePixmapType pixmap
;
16 EGLSurface surface
; /* pbuffer or screen surface */
25 EGLUTreshapeCB reshape_cb
;
26 EGLUTdisplayCB display_cb
;
27 EGLUTkeyboardCB keyboard_cb
;
28 EGLUTspecialCB special_cb
;
33 int window_width
, window_height
;
34 const char *display_name
;
42 /* initialized by native display */
43 EGLNativeDisplayType native_dpy
;
49 struct eglut_window
*current
;
54 extern struct eglut_state
*_eglut
;
57 _eglutFatal(char *format
, ...);
63 _eglutNativeInitDisplay(void);
66 _eglutNativeFiniDisplay(void);
69 _eglutNativeInitWindow(struct eglut_window
*win
, const char *title
,
70 int x
, int y
, int w
, int h
);
73 _eglutNativeFiniWindow(struct eglut_window
*win
);
76 _eglutNativeEventLoop(void);
78 #endif /* _EGLUTINT_H_ */