1 #ifndef _QEMU_YAGL_EGL_NATIVE_CONFIG_H
2 #define _QEMU_YAGL_EGL_NATIVE_CONFIG_H
4 #include "yagl_types.h"
7 struct yagl_process_state;
9 struct yagl_egl_native_config
12 * Filled by the driver.
22 EGLint frame_buffer_level;
24 EGLint max_pbuffer_width;
25 EGLint max_pbuffer_height;
26 EGLint max_pbuffer_size;
27 EGLint max_swap_interval;
28 EGLint min_swap_interval;
29 EGLint native_visual_id;
30 EGLint native_visual_type;
31 EGLint samples_per_pixel;
33 EGLenum transparent_type;
35 EGLint trans_green_val;
36 EGLint trans_blue_val;
41 * Filled automatically by 'yagl_egl_config_xxx'.
45 EGLBoolean native_renderable;
46 EGLint renderable_type;
48 EGLint sample_buffers_num;
52 * Initialize to default values.
54 void yagl_egl_native_config_init(struct yagl_egl_native_config *cfg);