97 Commits

Author SHA1 Message Date
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
twinaphex
eba1c474b5 Fix MSVC 2010 port 2019-02-21 21:34:22 +01:00
natinusala
631f9e6b8e font driver: expose line height 2019-02-17 16:54:24 +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
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Brad Parker
1b22acd747 guard against overflows in Arabic font code, fixes #7508 2019-01-12 17:23:19 -05: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 Javier Trujillo Mata
26ce69694f Create Font driver for PS2 2019-01-07 21:51:48 +01:00
krzys-h
b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
radius
3c8264e9f2 use stb font in emscripten (untested) 2018-09-30 17:41:24 -05:00
M4xw
373bf932b3 [LIBNX] Enable Stb font 2018-09-30 04:33:00 +02:00
M4xw
48056e41fc [LIBNX] Remove freetype again 2018-09-30 04:12:25 +02:00
M4xw
b4ae829b3f [LIBNX] Workaround for freezes caused by freetype with video threaded, revert later 2018-09-29 03:01:41 +02:00
M4xw
fd155db9cc [LIBNX] Fix font driver 2018-09-27 01:23:29 +02:00
twinaphex
0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +02:00
Brad Parker
ab27b7c85f initial SIXEL video driver 2018-07-12 16:55:08 -04:00
Stuart Carnie
411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex
542294900f (WinRT) More compilation fixes 2018-05-12 19:03:39 +02:00
twinaphex
9f2b56a929 Update Direct3D 10 driver 2018-04-21 03:27:41 +02:00
Twinaphex
f2c23970a3 (font_driver.c) silences the xcode warnings 2018-04-09 05:56:58 +02:00
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
twinaphex
b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex
2d8623fa10 Cleanup unused variable 2018-02-11 16:42:53 +01:00
aliaspider
92afd7387d (D3D12) add a font driver. 2018-02-08 00:18:04 +01:00
aliaspider
9b1e1af86e check for empty string in font_driver_render_msg. 2018-02-06 09:28:18 +01:00
aliaspider
45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
aliaspider
840bd459df (D3D11) add a font driver. 2018-01-24 20:51:19 +01:00
twinaphex
9f7d0d59c5 (Xbox 1) Fix texture U/V 2018-01-20 07:00:03 +01:00
twinaphex
1d9ea0297e Move this lower in priority 2018-01-20 06:50:25 +01:00
twinaphex
41d9a8fd75 Make D3DX optional 2018-01-04 14:42:13 +01:00
Brad Parker
9cd3746702 enable STB Unicode font renderer for PS3 2017-12-23 21:35:45 -05: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
5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
twinaphex
2b81f945df Update D3D8 codepaths 2017-09-05 01:03:55 +02:00
Brad Parker
6359fe44af forgot about mingw not defining _MSC_VER 2017-08-07 11:28:35 -04:00
Brad Parker
09922f5ee7 msvc2005: use non-unicode stb font driver 2017-08-07 11:18:38 -04:00
aliaspider
b17e76d8b7 (WiiU) add freetype and stb font support.
freetype disabled by default due to requiring an external library.
2017-05-21 04:22:32 +01:00
aliaspider
8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00
twinaphex
11a96df465 Rewrite font_driver_free 2017-04-29 17:02:35 +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
e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex
0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex
953045f0d2 Update logs 2017-04-23 11:56:46 +02:00
twinaphex
affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
Brad Parker
c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
Brad Parker
05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00