Commit Graph

146 Commits

Author SHA1 Message Date
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
twinaphex c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e.
2017-01-14 21:02:30 +01:00
twinaphex b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex 6e696d8560 Rename g_osd_font to video_font_driver 2017-01-10 21:26:48 +01:00
Twinaphex faa8ddf413 Remove unused variables 2017-01-07 08:11:23 +01:00
Logan McNaughton 017d9cea9d This fixes the XMB menu for me
When using threaded video and shared context

Threaded video gets disabled for GL contexts, so you can't rely on the settings value
2017-01-05 12:53:55 -08:00
Brad Parker ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
twinaphex 5fc1b0c88e Remove obsolete font_driver_has_render_msg 2016-11-20 17:51:16 +01:00
twinaphex 0dbf7b21b6 Enable STB unicode font for Android and Win32 too 2016-11-05 19:33:07 +01:00
Francisco José García García 14c9eb47c4 (VITA) Add uft8 support 2016-11-05 16:21:21 +01:00
twinaphex 86eed6706e Prevent some null pointer dereferences 2016-10-20 00:30:34 +02:00
Higor Eurípedes 46fe9fa29e Add multiple font support to material and xmb 2016-10-18 20:36:54 -03:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
twinaphex ffcf96dd24 Add config.h includes 2016-09-06 23:47:05 +02:00
twinaphex 562c1e996c Get rid of more header includes 2016-09-01 05:38:26 +02:00
twinaphex 46872f8fcb (gfx/font_driver.c) Cleanups 2016-05-24 21:07:02 +02:00
twinaphex 7c20f2b868 Change namespace of thread functions 2016-05-10 03:14:23 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex 0584b3c072 Create RARCH_DISPLAY_CTL_IS_HW_CONTEXT 2016-02-07 20:32:53 +01:00
twinaphex b8b7ee530c Respect 80-char width limits 2016-02-06 21:51:37 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex aa6c7a5ed3 Create two new threading command wrapper functions 2015-12-08 11:05:18 +01:00
Twinaphex c1bb8f711d Fix some warnings for non-HAVE_THREADS targets 2015-12-07 08:00:27 +01:00
twinaphex cbdd305626 Add HAVE_THREADS ifdef 2015-12-06 22:42:22 +01:00
twinaphex 9b65988682 Create rarch_threaded_video_send_and_wait 2015-12-06 21:34:39 +01:00
twinaphex 693e684b4f (font_driver.c) Turn some functions static and remove others that
are unused
2015-12-05 22:58:52 +01:00
twinaphex f45867d1cd More CXX_BUILD fixes 2015-12-05 18:56:37 +01:00
twinaphex 6a00c1cf9a Take font driver handles out of driver_t struct 2015-12-05 12:25:53 +01:00
twinaphex 78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex df813ad58b Create font_driver_flush 2015-12-05 12:10:12 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex 4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex 89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex c49754fc72 Revert "Should save font renderer API now"
This reverts commit 92632a4dbb.
2015-11-09 04:11:21 +01:00
twinaphex 92632a4dbb Should save font renderer API now 2015-11-09 02:29:19 +01:00
Francisco José García García 8e652f613a (Vita) OSD messages 2015-10-02 00:11:54 +02:00
twinaphex e182f32d8c Header cleanups 2015-09-05 20:03:27 +02:00
Higor Eurípedes b85dfec4d4 Fix sigsegv and improve font fallback logic 2015-05-02 22:24:35 -03:00
twinaphex 58621e5ccf (PS3) Compile in GL raster font 2015-04-23 02:04:32 +02:00
twinaphex bd63de9b3a Replace gl_font_init_first and d3d_font_init_first with common function 2015-04-21 17:33:00 +02:00
twinaphex 532d112ff8 (Font) Combine font_d3d_driver and font_gl_driver 2015-04-03 20:36:19 +02:00