850 Commits

Author SHA1 Message Date
twinaphex
280cec702b video_driver_supports_viewport_read should only check if
taking screenshots with the GPU backbuffer is supported,
move outside settings check to callee
2019-06-06 15:06:27 +02:00
Huw Pascoe
8e9913a1ab Fix video_layout crash on unsupported drivers 2019-05-18 18:19:55 +01:00
Huw Pascoe
2c56011f84 video_layout interface 2019-05-11 09:58:48 +01:00
Huw Pascoe
6aaa4df394 video_layout 2019-05-11 09:58:46 +01:00
twinaphex
74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
natinusala
636f2ddb28 menu_widgets: implement the user setting 2019-05-03 21:25:20 +02:00
twinaphex
29b8ddef28 Move video_driver_menu_settings 2019-05-01 00:09:49 +02:00
twinaphex
4b22522ae0 We need faster string concatenation for performance-critical
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex
4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
twinaphex
04d062b3d4 (MSVC2003) Enable HAVE_OPENGL1; make HAVE_OPENGL1 independent from
HAVE_OPENGL
2019-04-22 22:48:23 +02:00
natinusala
7a3caf82d0 menu widgets: reimplement FPS counter 2019-04-08 17:06:04 +02:00
twinaphex
cd75045792 Simplify video_driver_frame - simplify FPS reporting printout 2019-03-19 16:03:19 +01:00
twinaphex
4fb95db80b Simplify video_driver_frame 2019-03-19 04:32:36 +01:00
twinaphex
46dc4508f4 Buildfix for Cg 2019-03-18 16:32:46 +01:00
twinaphex
819016b00c Move video_shader_driver_init to gl.c 2019-03-18 15:52:21 +01:00
twinaphex
f67bfa24ef Get rid of video_poke_interface set_mvp 2019-03-18 15:19:11 +01:00
twinaphex
fe1255094f Get rid of now unused set_coords in video_driver_poke_interface 2019-03-18 05:04:23 +01:00
Brad Parker
a8a06d498c gl1: fix matrix not loading when threaded video is on 2019-03-17 12:46:01 -04:00
Themaister
d9b245ce66 Swap order of drivers gl2/glcore. 2019-03-09 12:30:49 +01:00
Themaister
3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
Brad Parker
10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
twinaphex
ebae7ebc79 Input driver - Get rid of 'own driver' mechanism 2019-02-27 17:17:34 +01:00
twinaphex
829aedc6e2 (Video/Audio) Remove 'own driver' mechanism 2019-02-27 17:09:15 +01:00
Brad Parker
f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
twinaphex
158a442036 Add further HAVE_OPENGL1 support 2019-02-17 10:42:16 +01:00
alphanu1
e11c910c39 Fix native naming after new additions
CRT dynamic width changes

Change menu detection width

Using alternative variables for CRT width and height

see output

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Update video_crt_switch.c

Update video_crt_switch.c

Update video_display_server.h

Update video_display_server.c

Update dispserv_win32.c

Update dispserv_x11.c

Update menu_cbs_ok.c

X centring on the fly

X centring on the fly

Update dispserv_x11.c

X centring on the fly

Update dispserv_win32.c

Fix dispserv_win32.c

Fix dispserv_win32.c
2019-02-12 21:23:13 +00:00
alphanu1
c9c3c626e8
turn dynamic super res off on the fly 2019-02-12 11:23:53 +00:00
alphanu1
a76c1f4c51
Removed CRT setting video driver build info 2019-02-12 10:10:35 +00:00
alphanu1
f7d2fbd212
fix for dynamic super resolutions 2019-02-12 10:04:41 +00:00
alphanu1
14b80cc3e1
incorporation of dynamic super res
Closer to native look super resolution. Used to prevent artefacts
2019-02-12 09:44:06 +00:00
twinaphex
49bade15ae (video_driver.c) Cleanups 2019-02-12 06:22:50 +01:00
twinaphex
a51acb8377 Buildfix 2019-02-12 04:03:10 +01:00
Brad Parker
d64933b30d gl1: put behind HAVE_OPENGL1, off by default for now 2019-02-08 16:04:23 -05:00
Brad Parker
74fd184097 initial GL1 video driver, only rgui is working currently 2019-02-08 12:14:55 -05:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
twinaphex
1e394091d8 Namespace GL2 driver 2019-02-06 19:43:31 +01:00
twinaphex
0a04a1c80a (GL) Cleanups 2019-02-05 02:27:08 +01:00
twinaphex
9877e1ce3e (GL) Cleanups 2019-02-05 02:12:42 +01:00
twinaphex
5102eff399 (GL) Move GL-only shader code to gl.c 2019-02-05 01:13:39 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea
4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
twinaphex
4cbbd3470b Revert "Simplify video_driver_set_mvp"
This reverts commit 1dd89e1bcee6b8c39e78e6228c6c3d411ddb3eae.
2019-02-03 19:40:48 +01:00
twinaphex
4aadd53d80 Revert "Get rid of video_shader_driver_scale"
This reverts commit 256b28fa2af06a915ee28428d44f2b1250c638a2.
2019-02-03 19:40:36 +01:00
twinaphex
1eeb58c5dd Revert "Cleanups"
This reverts commit 45546697508a4e45297a459741e0daec95462e30.
2019-02-03 19:40:27 +01:00
twinaphex
5a45464bb3 Revert "Reimplement video_driver_set_coords"
This reverts commit 93ded925d371253542ae9595dc0b57c8bb53591e.
2019-02-03 19:40:21 +01:00
twinaphex
43884758c5 Revert "(GL) Cleanups"
This reverts commit 5bab7e44605887aa5de62834860a411acb953093.
2019-02-03 19:40:15 +01:00
twinaphex
5bab7e4460 (GL) Cleanups 2019-02-03 18:38:18 +01:00