Debian Codegraph @

prboom2/src/dsda/gl/render_scale.h

raw
1 //
2 // Copyright(C) 2022 by Ryan Krafnick
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // Data for rendering non-exclusive fullscreen in OpenGL
16 // Original Author: elim
17 //
18
19 #include "SDL.h"
20
21 extern int gl_statusbar_height;
22 extern int gl_scene_width;
23 extern int gl_scene_height;
24 extern float gl_scale_x;
25 extern float gl_scale_y;
26 extern int gl_letterbox_clear_required;
27
28 void dsda_GLSetRenderViewportParams(void);
29 void dsda_GLSetRenderViewport(void);
30 void dsda_GLSetRenderViewportScissor(void);
31 void dsda_GLSetRenderSceneScissor(void);
32 void dsda_GLSetScreenSpaceScissor(int x, int y, int w, int h);
33 void dsda_GLUpdateStatusBarVisible(void);
34 void dsda_GLLetterboxClear(void);
35 void dsda_GLStartMeltRenderTexture(void);
36 void dsda_GLEndMeltRenderTexture(void);
37 void dsda_GLFullscreenOrtho2D(void);