407 Commits

Author SHA1 Message Date
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
Nano
c017271d8a Fix #6747 Black bug 2019-01-19 10:26:06 +01:00
Twinaphex
01397f008a
Revert "Fix issue #6747 black bug" 2019-01-10 22:52:13 +01:00
Nano
f1ba335cb3 Fix issue #2791 black bug 2019-01-09 22:52:45 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco José García García
48167d46bc [ORBIS] Initial video context driver 2018-12-28 01:27:13 +01:00
Francisco Javier Trujillo Mata
d7cc3b7983 PS2 making the gfx driver clean the screen 2018-11-09 22:40:50 +01:00
twinaphex
624698d2d9 (Ozone) Add menu color theme 2018-10-27 16:51:17 +02:00
twinaphex
75d36ebc1f (Ozone) Button legend now responds to 'Menu Swap OK/Cancel' setting 2018-10-27 06:18:56 +02:00
twinaphex
778c3fff73 (GL) Use shader_driver directly 2018-10-15 06:47:18 +02:00
twinaphex
9e2d688e1d Get rid of video_context_driver_get_context_data 2018-10-15 01:27:18 +02:00