int init_opengl(int _image_width, int _image_height);
int init_osd(int num, int _osd_width, int _osd_height);
void resize_opengl(int _screen_width, int _screen_height);
-void opengl_copy_last(void);
void opengl_clear(void);
void opengl_viewport_legacy(int top);
void opengl_blit_legacy(uint8_t *rgb, int filter);