71 Commits

Author SHA1 Message Date
twinaphex
002ac5a344 (menu display) pointer cleanups 2019-04-10 01:46:25 +02:00
twinaphex
45fa047b07 (Menu display) Pointer cleanups 2019-04-08 15:22:21 +02: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
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
13ccf4d408 Silence some more static code analysis warnings 2019-01-11 01:35:18 +01:00
twinaphex
c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
twinaphex
dd60b5d576 MSVC2017 Non-UWP buildfixes 2018-12-29 02:54:17 +01:00
Themaister
f51ef85f27 Vulkan: Fix scissor in menu driver. 2018-11-08 21:57:53 +01:00
twinaphex
1bd91193fd (Menu) All the ident names should be identical to the video driver ident names 2018-10-09 01:05:46 +02:00
twinaphex
b0dd64c9f3 Change function prototype for scissor_end 2018-09-28 22:52:00 +02:00
twinaphex
624ffc98c1 (Vulkan) Implement scissoring for Vulkan 2018-09-28 22:00:47 +02:00
natinusala
7ec2011ccf menu_display_gl: added scissoring support 2018-09-20 14:48:07 +02:00
twinaphex
c88a7545a3 (menu display drivers) Cleanups 2018-05-13 14:15:04 +02:00
twinaphex
18d27468ae Set handles_transform for 3DS/D3D11/D3D12/Vita/WiiU menu
display drivers - this skips a bunch of costly matrix calculations
for menu display drivers that have a geometry shader or something
similar
2018-02-28 04:52:47 +01:00
twinaphex
35f1c9ba33 (menu display driver) Get rid of remaining pointer grabbing 2018-02-16 19:42:13 +01:00
twinaphex
407d7e2c4e (menu display) Get rid of more pointer grabbing 2018-02-16 19:25:19 +01:00
twinaphex
a0ba515337 Update 2018-02-16 19:08:16 +01:00
twinaphex
b25e2ce4e8 reduce more calls to video_driver_get_ptr 2018-02-16 17:54:39 +01:00
twinaphex
964e9db588 Reduce calls to video_driver_get_ptr - set it once for
video_frame_info_t
2018-02-16 17:19:55 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
d5b3104cfb Cleanups/warning fixes 2017-12-06 19:51:07 +01:00
twinaphex
3a92a60a8e Cleanups 2017-09-09 01:30:47 +02:00
twinaphex
f546020429 Silence more warnings with C89_BUILD 2017-08-12 18:06:48 +02:00
twinaphex
59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex
e84adb504f Don't try to call video_driver_is_threaded from outside
gfx/video_driver.c - only exception right now - menu_display.c
2017-04-29 16:52:52 +02:00
twinaphex
0123d33780 Silence CXX_BUILD warnings 2017-03-05 19:28:34 +01:00
hunterk
a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
twinaphex
0d873b6da1 (Vulkan) Add fancy snow for Vulkan 2017-02-20 21:51:58 +01:00
Hans-Kristian Arntzen
2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
twinaphex
7d624fdedb Push some build fixes when compiling with --disable-opengl --disable-shaderpipeline 2017-01-22 22:18:00 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
c8bc6c7120 (XMB) Add Bokeh menu pipeline 2017-01-08 03:56:47 +01:00
twinaphex
a3074714c5 (menu_display_vulkan.c) Update 2016-12-12 15:02:43 +01:00
twinaphex
abaa6eda62 Rename VIDEO_SHADER_MENU_SEC to VIDEO_SHADER_MENU_2 2016-12-06 00:34:38 +01:00
twinaphex
f9786d6c6a Remove unnecessary config.def.h includes 2016-11-20 13:43:56 +01:00
Higor Eurípedes
6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
twinaphex
0732626797 Add header includes 2016-09-08 06:02:41 +02:00
Hans-Kristian Arntzen
4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen
54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
twinaphex
883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex
0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
Hans-Kristian Arntzen
f91b36eec8 Fix inconsistencies between Vulkan and GL in ribbon.
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen
951c3e4085 De-ioctl menu display interface.
Holy crap ...
2016-05-08 12:38:46 +02:00
Hans-Kristian Arntzen
464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
twinaphex
68265f6c52 Add 'draw_pipeline to menu/drivers_display 2016-04-25 13:56:12 +02:00
twinaphex
4a29f71272 (Menu) Cleanups 2016-04-19 17:40:03 +02:00
twinaphex
65bd8194cd Cleanup 2016-04-19 17:37:27 +02:00
twinaphex
17273493ef (Menu) Create viewport function callback 2016-04-19 08:50:35 +02:00