forked from pete-gordon/oricutron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render_gl.h
38 lines (35 loc) · 1.54 KB
/
render_gl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
** Oricutron
** Copyright (C) 2009-2014 Peter Gordon
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation, version 2
** of the License.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**
** OpenGL rendering
*/
#ifdef __OPENGL_AVAILABLE__
void render_begin_gl( struct machine *oric );
void render_end_gl( struct machine *oric );
void render_textzone_alloc_gl( struct machine *oric, int i );
void render_textzone_free_gl( struct machine *oric, int i );
void render_textzone_gl( struct machine *oric, int i );
void render_clear_area_gl( int x, int y, int w, int h );
void render_gimg_gl( int i, Sint32 xp, Sint32 yp );
void render_gimgpart_gl( int i, Sint32 xp, Sint32 yp, Sint32 ox, Sint32 oy, Sint32 w, Sint32 h );
void render_video_gl( struct machine *oric, SDL_bool doublesize );
void preinit_render_gl( struct machine *oric );
SDL_bool init_render_gl( struct machine *oric );
SDL_bool render_togglefullscreen_gl( struct machine *oric );
void shut_render_gl( struct machine *oric );
#endif //__OPENGL_AVAILABLE__