467 Commits

Author SHA1 Message Date
twinaphex
774dccca7c Move more code over to gfx/video_driver.c 2021-09-28 02:15:11 +02:00
twinaphex
3dee62ce62 Cleanups and buildfix 2021-09-28 01:16:53 +02:00
twinaphex
05e4aa8bfb move more code over to gfx/video_driver.c 2021-09-28 00:50:48 +02:00
twinaphex
0448afab96 Move video driver functions over to gfx/video_driver.c 2021-09-27 19:37:22 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
Brad Parker
c962da0ddb add video setting to select gpu (currently implemented for vulkan) 2019-06-13 12:47:08 -04:00
twinaphex
fdd09a8b06 Refactor task screenshot 2019-06-06 15:48:50 +02:00
Huw Pascoe
2c56011f84 video_layout interface 2019-05-11 09:58:48 +01:00
twinaphex
0b426b2022 This should hide the CRT SwitchRes option on systems
where it's not supported
2019-05-05 16:33:25 +02:00
twinaphex
a0b2d97ca3 Hide 'Take Screenshot' for video drivers that don't support
taking screenshots yet
2019-05-05 13:46:26 +02:00
twinaphex
c55873c324 (GL_CORE) More updates 2019-04-24 03:33:32 +02: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
27928081cf Cleanups 2019-03-18 15:27:37 +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
twinaphex
191d0c0309 Add get_flags to GL shader interface 2019-03-13 11:21:00 +01:00
twinaphex
2c024f400e Start hooking up extra shader capability stats - not done yet 2019-03-13 00:54:11 +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
829aedc6e2 (Video/Audio) Remove 'own driver' mechanism 2019-02-27 17:09:15 +01:00
Brad Parker
74fd184097 initial GL1 video driver, only rgui is working currently 2019-02-08 12:14:55 -05: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
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
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
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
twinaphex
dd366cd5c5 Revert "Simplify set_coords"
This reverts commit e10eb51f718aff5e61cf3fa91d865ebe2e21767e.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71 Simplify set_coords 2019-02-03 18:03:07 +01:00
twinaphex
4554669750 Cleanups 2019-02-03 17:49:31 +01:00
twinaphex
256b28fa2a Get rid of video_shader_driver_scale 2019-02-03 17:39:25 +01:00
twinaphex
67e777767c Revert "Remove video_shader_driver_get_ident"
This reverts commit 0814cc34ee0177db6f6669ea28993449294297cd.
2019-02-03 07:07:50 +01:00
twinaphex
0814cc34ee Remove video_shader_driver_get_ident 2019-02-03 07:06:57 +01:00
twinaphex
add4ac00eb Cleanups 2019-02-03 06:28:27 +01:00
twinaphex
0db583c245 Get rid of video_shader_driver_compile_program 2019-02-03 05:52:41 +01:00
twinaphex
9a04c4c67b Get rid of video_shader_driver_get_prev_textures 2019-02-03 05:49:18 +01:00
twinaphex
000787837e Cleanups 2019-02-03 05:41:43 +01:00
twinaphex
7e92468508 Get rid of video_shader_driver_filter_type 2019-02-03 05:28:00 +01:00
twinaphex
845c8d1757 Get rid of more video_shader_driver functions 2019-02-03 05:05:23 +01:00
twinaphex
7e81ac4218 Get rid of video_shader_driver_mipmap_input 2019-02-03 04:47:52 +01:00
twinaphex
9aa542b1ae * Get rid of video_shader_driver_use
* Get rid of Nuklear - ozone/menu widgets is probably the replacement
for it - Zarch will go next
2019-02-03 04:37:54 +01:00
twinaphex
9e6cd04df4 Header include cleanups 2019-01-31 20:43:07 +01:00
twinaphex
37102a8e16 * Header include optimization
* Silence warning with CXX_BUILD (retroarch.c)
2019-01-31 20:12:41 +01:00
twinaphex
000646e51e Update header includes 2019-01-31 19:06:27 +01:00
alphanu1
76bf63f905
RPi Additions new switching method
Partil new switching method
2019-01-30 20:17:32 +00:00
M4xw
7d186f7d2c Revert PR #8043 2019-01-20 20:06:57 +01:00