RetroArch
video_crt_switch.h
Go to the documentation of this file.
1 /* CRT SwitchRes Core
2  * Copyright (C) 2018 Alphanu / Ben Templeman.
3  *
4  * RetroArch - A frontend for libretro.
5  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
6  * Copyright (C) 2011-2017 - Daniel De Matteis
7  *
8  * RetroArch is free software: you can redistribute it and/or modify it under the terms
9  * of the GNU General Public License as published by the Free Software Found-
10  * ation, either version 3 of the License, or (at your option) any later version.
11  *
12  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  * PURPOSE. See the GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along with RetroArch.
17  * If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __VIDEO_CRT_SWITCH_H__
21 #define __VIDEO_CRT_SWITCH_H__
22 
23 #include <stdint.h>
24 
25 #include <boolean.h>
26 #include <retro_common_api.h>
27 
29 
30 void crt_switch_res_core(unsigned width, unsigned height, float hz, unsigned crt_mode, int crt_switch_center_adjust);
31 
32 void crt_aspect_ratio_switch(unsigned width, unsigned height);
33 
34 void crt_video_restore(void);
35 
37 
38 #endif
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
void crt_video_restore(void)
Definition: video_crt_switch.c:200
void crt_aspect_ratio_switch(unsigned width, unsigned height)
Definition: video_crt_switch.c:80
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
GLint GLint GLsizei width
Definition: glext.h:6293
static const int crt_switch_center_adjust
Definition: config.def.h:73
RETRO_BEGIN_DECLS void crt_switch_res_core(unsigned width, unsigned height, float hz, unsigned crt_mode, int crt_switch_center_adjust)
Definition: video_crt_switch.c:162
GLint GLint GLsizei GLsizei height
Definition: glext.h:6293