Commit Graph

7073 Commits

Author SHA1 Message Date
Charlton Head d29e8c18fa Better error handling in *xv_init() 2017-09-07 12:28:16 -05:00
Brad Parker 07566c51a1 VC6 buildfixes, add Makefile.griffin target for it 2017-09-07 11:50:10 -04:00
Brad Parker 0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex 33a77bd3a3 Cleanups 2017-09-06 00:40:14 +02:00
twinaphex 5ad8f2aa90 Update 2017-09-06 00:38:49 +02:00
twinaphex 511d563a1c (d3d_ctx) Log memory too - get rid of another _XBOX ifdef 2017-09-06 00:37:49 +02:00
twinaphex 582b688121 Silence some warnings for PS3 2017-09-06 00:21:20 +02:00
twinaphex 674dbfed19 Cleanups 2017-09-05 04:57:34 +02:00
twinaphex bde5a6dc19 Rename renderchain_driver_t to d3d_renderchain_driver_t 2017-09-05 04:21:40 +02:00
twinaphex 21d3e890f8 Cleanup 2017-09-05 04:16:27 +02:00
twinaphex 97d7240c47 Cleanups 2017-09-05 04:08:44 +02:00
twinaphex 1c6314f1ff Cleanups 2017-09-05 03:51:20 +02:00
twinaphex 057444433d Cleanups 2017-09-05 03:42:39 +02:00
twinaphex 3eecbd7135 Fix d3d9_cg_renderchain.cpp 2017-09-05 03:27:00 +02:00
twinaphex 374b6115e1 Update HLSL backend 2017-09-05 03:21:58 +02:00
twinaphex 83ffb5092a Cleanups 2017-09-05 03:00:51 +02:00
twinaphex 9880e76d25 Implement set min/mag/u/v for D3D8 2017-09-05 01:12:06 +02:00
twinaphex 2b81f945df Update D3D8 codepaths 2017-09-05 01:03:55 +02:00
twinaphex 6f26a9b97e Take this out 2017-09-05 01:01:00 +02:00
twinaphex c691bbaedc Start going through compilation errors 2017-09-05 00:57:58 +02:00
twinaphex fb5744318a Start adding D3D8 headers 2017-09-05 00:37:17 +02:00
twinaphex fd14986368 (d3d_common.cpp) Cleanups 2017-09-05 00:21:41 +02:00
twinaphex e1c139dda6 Buildfix 2017-09-05 00:10:24 +02:00
twinaphex b46c4b4db5 Create d3d8_renderchain.cpp and d3d9_hlsl_renderchain.cpp 2017-09-05 00:00:17 +02:00
twinaphex c96b843330 xdk_renderchain.cpp should become the D3D8 renderchain implementation
(for Xbox OG/PC);
xdk360_renderchain.cpp will become the D3D9 HLSL one (for 360/PC)
2017-09-04 23:50:13 +02:00
Brad Parker 47f3a801ba gdi: allow compilation without DirectInput8 for NT 2017-09-04 14:18:50 -04:00
Brad Parker 747dd2ad12 support Windows 95/NT4 2017-09-03 23:39:25 -04:00
Brad Parker 35c4770c9b gdi: manually convert RGB444 to RGB555 to get around BI_BITFIELDS limitation on non-NT platforms 2017-09-01 20:52:58 -04:00
Brad Parker c7d7c5c909 gl: don't try to render a blank OSD message on every frame 2017-08-31 11:59:23 -04:00
Rob Loach fa75f47995
Fix includes of input_config 2017-08-30 23:14:27 -04:00
twinaphex e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
Brad Parker 5e3531a5f2 win98: fix core video graphics corruption\nbitmapinfoheader size should never include masks, but this is undocumented 2017-08-30 00:48:02 -04:00
Brad Parker e3d68cd131 GDI: fix flickering of text 2017-08-22 23:39:42 -04:00
Twinaphex b2d9bad3a2 Update wgl_ctx.c 2017-08-22 17:44:40 +02:00
twinaphex e065d70426 (WGL) Try to use wglSwapLayerBuffers first before resorting to SwapBuffers 2017-08-19 14:17:30 +02:00
twinaphex ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +02:00
twinaphex 0ed4b97bbc Revert "Don't hide 'Resolution' setting behind compile-time ifdefs anymore"
This reverts commit 365cfd22ee.
2017-08-13 18:05:51 +02:00
twinaphex ae2435cf16 Silence some more C89_BUILD warnings 2017-08-12 18:15:26 +02:00
twinaphex f546020429 Silence more warnings with C89_BUILD 2017-08-12 18:06:48 +02:00
twinaphex 00412c9836 More C89_BUILD fixes 2017-08-12 18:02:39 +02:00
twinaphex 9c32d03c1e (Vulkan/Win32) C89_BUILD fixes 2017-08-12 17:56:30 +02:00
twinaphex 29af83f8e3 Fix some format-truncation warnings 2017-08-10 23:07:27 +02:00
Brad Parker ff98730906 don't define UNICODE for msvc2005 2017-08-09 23:33:57 -04:00
Brad Parker 530d79f8e3 d3d9: only use wide char on msvc if UNICODE is defined 2017-08-09 18:25:45 -04:00
twinaphex 2f832d145f Make DragAcceptFiles go through function pointer 2017-08-09 16:25:23 +02:00
twinaphex 795ae524e9 Convert gdi_ctx.cpp to C 2017-08-09 13:56:47 +02:00
twinaphex a4a027be67 Convert wgl_ctx into C - also take care of serious warning 2017-08-09 13:51:33 +02:00
twinaphex c3851d42e6 Convert win32_common.cpp to C - gets rid of all the extern "C"
references as well.
Note to bparker - DragAcceptFiles has a minimum dependency for WinXP,
might have to go through a function pointer there or have a
compilation-time ifdef
2017-08-09 13:39:14 +02:00
twinaphex 535dbe0aaa win32_common.cpp - style nits 2017-08-09 13:28:31 +02:00
twinaphex 3bac7cc7ef Revert "Start hooking up more resolution functions - not working properly yet"
This reverts commit dccc9711d9.
2017-08-09 11:19:27 +02:00
twinaphex dccc9711d9 Start hooking up more resolution functions - not working properly yet 2017-08-09 10:58:43 +02:00
twinaphex 365cfd22ee Don't hide 'Resolution' setting behind compile-time ifdefs anymore 2017-08-09 10:33:36 +02:00
twinaphex 9272d26269 Start filling in more resolution functionality for Windows 2017-08-09 04:17:32 +02:00
twinaphex cea3cab3f4 Create win32_get_video_output_next 2017-08-09 04:09:44 +02:00
twinaphex 97de6deb56 Fix logic in win32_get_video_output_next 2017-08-09 04:07:41 +02:00
twinaphex 1ecdbf4050 Add win32_get_video_output_prev 2017-08-09 03:53:19 +02:00
twinaphex b943060797 Add win32_get_video_output_size 2017-08-09 03:44:03 +02:00
twinaphex c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +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
twinaphex ba36055632 (GX) Buildfix 2017-08-06 13:43:01 +02:00
twinaphex 169aea5ae1 (GX) Another buildfix 2017-08-06 05:54:46 +02:00
twinaphex 740ad823ab (GX) Buildfix 2017-08-06 05:52:40 +02:00
twinaphex 86f7972aa8 (Wii) Backport
0574b91595
- untested
2017-08-06 04:40:55 +02:00
Brad Parker b1904bcfa6 caca: enable OSD text drawing 2017-08-04 21:51:14 -04:00
Brad Parker c8e6a98651 gdi: enable OSD text drawing 2017-08-04 21:47:46 -04:00
Rob Loach 2a0e34d66e
Add ./configure to audio and video filters 2017-07-27 22:20:56 -04:00
Rob Loach 4f4ef6e815 Add a make install command to the video filters 2017-07-25 09:12:37 -04:00
twinaphex cfc7f4c8c7 Cleanups 2017-07-23 19:46:11 +02:00
Brad Parker 12ae59a197 freetype: better way to determine max_width/height, fixes buffer overflow with alternate OSD fonts 2017-07-22 22:21:26 -04:00
twinaphex 43c42c28e6 Cleanup font_renderer_create_atlas 2017-07-22 18:46:33 +01:00
twinaphex 9fe27117f2 Revert "(iOS) Take this out - see if it solves our issues"
This reverts commit 1cf6f2f20f.
2017-07-21 05:24:41 +01:00
twinaphex 1cf6f2f20f (iOS) Take this out - see if it solves our issues 2017-07-19 18:42:59 +01:00
twinaphex c9b88fa1ab Buildfix 2017-07-03 08:57:26 +02:00
twinaphex 708596ba84 Call dylib_free at end of WGL context destroy function 2017-07-03 08:56:17 +02:00
Twinaphex d561c7ff2d Revert "Don't show this warning when HAVE_SHADER_PIPELINE is not defined"
This reverts commit 431f1b4b7f.
2017-06-28 05:02:31 +02:00
Twinaphex 431f1b4b7f Don't show this warning when HAVE_SHADER_PIPELINE is not defined 2017-06-28 05:01:55 +02:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex 03ee897ae2 Try implementing core context version of XMB ribbon 2017-06-27 06:31:18 +02:00
Twinaphex c16bb5ff5e (Cocoa) Buildfix 2017-06-27 06:14:13 +02:00
twinaphex c1c5ebf5f6 (Cocoa) Start implementing core context hooks 2017-06-27 06:11:08 +02:00
twinaphex 94af3addd0 Update cocoa_gl_ctx.m 2017-06-26 07:23:04 +02:00
twinaphex f5a12d63cc (Cocoa) Try to support Core GL 3.1/3.2/3.3 and 4.1 on OSX 10.7 and
10.10 respectively
2017-06-26 07:16:41 +02:00
twinaphex f087419165 Rename platform_linux.c to platform_unix.c 2017-06-19 17:38:49 +02:00
ensrha 93ea78772d Add missing verbosity include 2017-06-19 14:38:26 +01:00
ensrha a1be55f655 Restore pixman, appears to have been deleted by mistake in 2078331495 2017-06-19 14:38:15 +01:00
twinaphex 097d9bc13b (iOS) Buildfix 2017-06-18 19:43:55 +02:00
Twinaphex 56d744ceaa (Cocoa) Shared hardware context starts to work now 2017-06-18 19:35:34 +02:00
twinaphex e0cc113689 Try to fix this regression https://github.com/libretro/RetroArch/issues/5060 2017-06-18 18:50:46 +02:00
twinaphex a3f216ba86 (Android) Try to move this code to set_video_mode 2017-06-18 17:21:33 +02:00
twinaphex 4850af8eac Revert "Try to set use_hw_ctx in advance for Android"
This reverts commit c010c5b258.
2017-06-18 17:09:27 +02:00
twinaphex c010c5b258 Try to set use_hw_ctx in advance for Android 2017-06-18 16:45:36 +02:00
twinaphex c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
Zoran Vuckovic 08b6fdb697 Add missing include directive 2017-06-12 14:13:08 +02:00
Daniel Jimenez 22fc07a839 Fix mirrored images in vertical games on 3DS (bug #4817)
On branch master
 Your branch is up-to-date with 'origin/master'.
 Changes to be committed:
	modified:   ctr_gfx.c
2017-06-11 18:12:37 -07:00
Jean-André Santoni 364440813f Merge pull request #5009 from psyke83/xmbtrans
xmb: enable menu transparency support when emulation is paused (v2)
2017-06-11 21:23:24 +02:00
twinaphex 060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex 80e2911bec Cleanups 2017-06-11 00:23:19 +02:00
twinaphex 95e588ce0f Fix C89_BUILD 2017-06-10 12:52:45 +02:00
twinaphex f86f1b3e32 Simplify gl_raster_font_upload_atlas 2017-06-08 08:10:23 +02:00
twinaphex aaf3c876eb gl_raster_font.c - Cleanups 2017-06-08 06:44:04 +02:00
Twinaphex e2be9e659d Silence some warnings 2017-06-08 02:44:38 +02:00
twinaphex f6c2d97ed5 Don't do these constant checks 2017-06-07 03:41:36 +02:00
twinaphex 3443153ccc (DRM/KMS) If we have the X11 input driver selected, default to udev and/or
linuxraw driver instead
2017-06-06 21:15:32 +02:00
twinaphex 1d65222051 No longer need linux/input.h header 2017-06-06 08:31:41 +02:00
twinaphex ded0813f6b Don't need this header 2017-06-06 07:36:06 +02:00
twinaphex f307135d1d Split up wayland input driver into separate driver; and
improve mouse support for menu
2017-06-06 07:34:33 +02:00
twinaphex 6b3dbff75f Merge input_driver.c and input_joypad_driver.c 2017-06-06 05:56:02 +02:00
twinaphex 9ebfb36b4e Use rarch_keysym_lut directly 2017-06-06 05:17:25 +02:00
twinaphex ae98ea7210 Remove unused function 2017-06-06 03:49:21 +02:00
Conn f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
Zoran Vuckovic 2056ebc803 Allow udev input to be used with X11 context 2017-06-02 01:08:28 +02:00
twinaphex 44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn 17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
Twinaphex 1be1386161 Revert "xmb: allow transparency when emulation paused" 2017-06-01 00:27:44 +02:00
hizzlekizzle ba2cf008c6 update Cg menu ribbon for additive blending
Fixes solid white ribbon.
2017-05-30 20:13:58 -05:00
Zoran Vuckovic 32d4e740ce Fix keyboard key translation issue 2017-05-30 22:59:31 +02:00
Jean-André Santoni c4b2feb811 Merge pull request #4985 from psyke83/master
xmb: allow transparency when emulation paused
2017-05-30 08:11:35 +02:00
twinaphex c83d72d589 Buildfix for Python 2017-05-30 04:11:04 +02:00
Conn 57503051ea xmb: allow transparency when emulation paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.
2017-05-29 23:49:40 +01:00
Arto Vainiolehto 766e4f5110 Fix scaling bug in video_driver_translate_coord_viewport()
- now scaled_x and height are correctly calculated, using viewports's width and height, respectively, as the scaling factor
-- previously the scaling factor was the screen's width/height, which meant that if screen and viewport had different bounds, scaled_x/scaled_y were incorrectly calculated
2017-05-30 00:00:56 +03:00
twinaphex 2f39e4cd33 Use local variable 2017-05-28 17:46:42 +02:00
twinaphex 857562bf9d Prevent immediate crash when compiling with SANITIZER=address 2017-05-28 17:46:01 +02:00
twinaphex b91dd1413f Silence warning 2017-05-26 19:32:18 +02:00
Brad Parker a04b54006d win32: disable winraw input driver for targets older than XP 2017-05-23 21:03:00 -04:00
aliaspider 934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
Twinaphex fce0ca2a3a Merge pull request #4958 from aliaspider/master
allow easier scheduling of tasks in single threaded mode.
2017-05-22 12:50:43 +02:00
aliaspider 801cc57e82 (WiiU) improve task scheduling. 2017-05-22 11:19:26 +01:00
twinaphex 8cc2886773 Get rid of some implicit memsets 2017-05-22 11:33:53 +02:00
aliaspider 634de19dc9 (WiiU) enable libretrodb. 2017-05-22 06:07:27 +01:00
aliaspider db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
Jean-André Santoni 0b1716650b Use additive blending for the ribbon in GL and Vulkan 2017-05-22 01:29:56 +02:00
Jean-André Santoni 1bd07c34c7 Make the Vulkan ribbon consistant with the GL ribbon 2017-05-22 00:39:09 +02:00
twinaphex a0924a414f Get rid of some unnecessary function callback wrapper functions 2017-05-21 09:30:32 +02:00
aliaspider a03b3238cb (WiiU) update font atlas texture when required. 2017-05-21 04:36:26 +01: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 1f13d616cc (WiiU) font renderer: fix vertical offset. 2017-05-21 04:17:38 +01:00
aliaspider 8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00
twinaphex 26e5c28208 Updates 2017-05-20 22:04:10 +02:00
twinaphex c962ad6009 Update 2017-05-20 21:56:32 +02:00
twinaphex ddf779008a Update 2017-05-20 19:48:02 +02:00
twinaphex 4f51341fc0 Update 2017-05-20 19:47:02 +02:00
twinaphex 46182e090b Merge keyboard_event_win32.cpp with win32_common.cpp 2017-05-20 19:46:27 +02:00
twinaphex 5a9dbf7e4f Merge keyboard files for udev/x11 2017-05-20 19:44:04 +02:00
twinaphex b7b7c67ca3 Windows buildfix 2017-05-20 17:47:56 +02:00
twinaphex c0431b34c9 Turn some variables static 2017-05-20 14:31:07 +02:00
twinaphex 6fea8f14c5 Call video_driver_cb_has_focus directly 2017-05-20 14:11:50 +02:00
twinaphex bd424da015 Turn video_driver_data and current_video into static variables again 2017-05-20 14:09:24 +02:00
twinaphex 5bcacf9b49 Create video_driver_cb_has_focus 2017-05-20 12:02:24 +02:00
Zoran Vuckovic 8535e766c8 Alow raw input driver to be used with GDI 2017-05-20 09:13:00 +02:00
twinaphex efce4d0abf Revert "Add cb_set_shader_coords"
This reverts commit 06df028722.
2017-05-19 21:21:40 +02:00
twinaphex 06df028722 Add cb_set_shader_coords 2017-05-19 21:13:44 +02:00
Twinaphex 8a12bb9f04 Merge pull request #4945 from casdevel/d3d-winraw
Alow raw input driver to be used with Direct3D
2017-05-19 19:54:25 +02:00
twinaphex d8f5065d64 Add cb_set_shader_mvp 2017-05-19 19:52:33 +02:00
twinaphex 64fdadf60f Use cb_shader_use 2017-05-19 19:42:34 +02:00
twinaphex 452c02653e Turn gl_set_shader_viewport into gl_set_shader_viewports 2017-05-19 19:39:46 +02:00
Zoran Vuckovic 2eb7499b64 Alow raw input driver to be used with Direct3D 2017-05-19 19:36:14 +02:00
twinaphex a830051076 Update gx_gfx.c 2017-05-19 16:33:59 +02:00
twinaphex 1ffb1f4feb Use wrapper function for memcmp 2017-05-19 16:20:30 +02:00
Twinaphex 51bac3ef73 Merge pull request #4942 from casdevel/wgl-winraw
Allow raw input driver with OpenGL driver under Windows
2017-05-19 16:19:13 +02:00
Zoran Vuckovic 9358b0c3f3 Allow raw input driver with OpenGL driver under Windows 2017-05-19 16:13:32 +02:00
twinaphex c5485152aa Do away with conditional inside build_info 2017-05-19 15:59:28 +02:00
Twinaphex 5e0eec8857 Remove unused variable 2017-05-19 14:53:25 +02:00
twinaphex 2a54544eb3 Add cb_shader_use to video_frame_info 2017-05-19 14:24:19 +02:00
twinaphex 4144c8de35 Prevent coverity warning 2017-05-19 13:54:43 +02:00
Zoran Vuckovic 54b5d289b0 Fix crash in GLSL shader driver 2017-05-19 12:14:51 +02:00
twinaphex 24ce77155a Cleanup 2017-05-19 03:52:04 +02:00
twinaphex 9d74212a41 Buildfix 2017-05-19 03:35:32 +02:00
twinaphex b0398c1482 C89 build fixes 2017-05-19 03:34:53 +02:00
twinaphex 89dddaf9f0 Cleanups 2017-05-19 01:19:38 +02:00
twinaphex 4d24153870 Turn into static function 2017-05-19 00:07:24 +02:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex 4e7b376e18 Cleanups 2017-05-18 14:31:40 +02:00
twinaphex cb529822c6 Cleanups 2017-05-18 14:27:37 +02:00
twinaphex 374f8e8a19 Cleanups 2017-05-18 14:22:50 +02:00
twinaphex 2f72506959 Bind default function to filter_type callback 2017-05-18 14:20:05 +02:00
twinaphex 9d11133edf Cleanups - get rid of if conditionals 2017-05-18 14:18:01 +02:00
twinaphex 1411b9ee6e Do away with all these if conditionals 2017-05-18 14:06:50 +02:00
twinaphex 49bf9b62ae Cleanups 2017-05-18 09:46:04 +02:00
twinaphex d181f70303 Don't call video_viewport_get_system_av_info inside gfx/video_driver.c 2017-05-18 09:44:51 +02:00
twinaphex 4e04e95713 Buildfix 2017-05-18 04:03:49 +02:00
twinaphex c9af58494b Set video_context_driver functions to null functions if not
already set
2017-05-18 03:53:05 +02:00
twinaphex 3f7a30a4b3 Start hooking up dummy callback functions to video_context_data
so that conditionals aren't necessary
2017-05-18 03:37:02 +02:00
twinaphex 941a5d4f94 Go through function callback for swap_buffers as well 2017-05-18 03:05:07 +02:00
twinaphex 86ee08b7a7 Add video context driver update window title callback
to video_frame_info_t
2017-05-18 02:53:12 +02:00
twinaphex acbf11931b Move code 2017-05-16 22:46:56 +02:00
twinaphex 717709ef9e (wgl_ctx.cpp) Cleanups 2017-05-16 22:46:09 +02:00
twinaphex f24a73351c Only use wglGetProcAddress for OpenGL 2017-05-16 22:40:47 +02:00
twinaphex 4df6151e14 video_driver_init_filter - cleanup 2017-05-16 21:36:33 +02:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
Twinaphex 2becbaf4e2 Merge pull request #4917 from aliaspider/master
Vulkan: font driver updates.
2017-05-15 11:24:42 +02:00
aliaspider b503407abb Vulkan: font driver updates.
- submit font texture staging_to_dynamic copy with a seperate command
buffer. fixes a validation issue caused by using vkCmdCopyImage during a
render pass.
- limit copies to updated glyphs.
2017-05-15 05:52:38 +01:00
aliaspider 36137d22e5 Vulkan: use the command buffer provided as parameter in
vulkan_copy_staging_to_dynamic.
2017-05-15 05:35:17 +01:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
aliaspider 1122a7c585 Vulkan: Add unicode support. 2017-05-15 00:37:50 +01:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 0e34d362d3 Fix video_driver_is_focused - keyboard should work again with
threaded video
2017-05-14 18:52:36 +02:00
twinaphex 581333f222 Get rid of implicit memset 2017-05-13 23:24:27 +02:00
twinaphex b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
twinaphex 17a15273ba Create function out of video_driver_is_focused - no longer
call video_driver_context_focus from video driver
2017-05-13 19:19:49 +02:00
twinaphex d4756f83e5 Stop calling video_driver_context_has_windowed from within video
drivers
2017-05-13 19:11:32 +02:00
twinaphex f6c8aba119 Move video_context_driver_update_window_title to video_driver_frame 2017-05-13 18:58:13 +02:00
Francisco José García García 5fc7a6776b (VITA) Fix problem with font renderer 2017-05-13 14:17:55 +02:00
aliaspider 66c8778878 'es' is required after #version 300. 2017-05-12 01:29:02 +01:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
aliaspider 1223309052 better handling of existing #version directive in glsl shaders. 2017-05-11 05:14:11 +01:00
twinaphex 57089dc108 Update gl_common.c - update CHANGES.md 2017-05-11 02:56:11 +02:00
twinaphex e0c0815f42 (shader_vulkan.cpp) cleanups - don't use memset 2017-05-10 06:40:21 +02:00
twinaphex 1b302d6e40 (shader_vulkan.cpp) Cleanups 2017-05-10 06:31:06 +02:00
twinaphex 865ec1eb71 Cleanup 2017-05-10 06:23:53 +02:00
hunterk 7f8d4479f4 fix version directives in GLSL shaders, courtesy of aliaspider 2017-05-09 23:20:00 -05:00
twinaphex 9dff2434ef Fix some structurally dead code warnings 2017-05-09 20:54:03 +02:00
twinaphex d75f155eb6 Reorder video_driver.h 2017-05-09 01:37:12 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex bac9973354 Cleanups 2017-05-09 00:58:01 +02:00
twinaphex ed86a2ed10 Add threading error notes 2017-05-06 17:35:12 +02:00
Andrew 858e15b837 Fix performance issue with max_swapchain_images
This fixes a performance problem introduced in my last commit when
max_swapchain_images == 3.

In my last commit I incorrectly stated the 3rd buffer was not being
used, after doing some additional testing I realized I was mistaken,
it can indeed be used due to the used page tracking.

Reverting that portion of my previous commit.
2017-05-05 16:58:17 -07:00
Twinaphex 6e51153387 Revert "Cleanu gl_raster_font_render_line"
This reverts commit 45cf53b487.
2017-05-05 05:30:49 +02:00
twinaphex 45cf53b487 Cleanu gl_raster_font_render_line 2017-05-05 05:23:26 +02:00
Andrew 01e25bd5c7 Fix max_swapchain_images and do some additional cleanup
When max_swapchain_images was originally added it worked properly,
but was subsequently broken by using the value to specify the number
of buffers allocated.

Due to how the dispmanx driver works, only 2 buffers are ever actually
used, so the 3rd buffer in the "swapchain" ended up doing nothing.

Fix this by restoring it to the original intent, that is, if
max_swapchain_images <= 2 wait for vsync after the flip (reducing
lag), otherwise wait at the last possible moment (increasing lag).

Additionally, fix up some unnecessary void* usage where type safety
could be maintained.
2017-05-04 18:45:59 -07:00
Andrew a1d094e64e Minor race fix and small cleanup to dispmanx_gfx
It's unlikely it was causing issues, but another race existed in the
dispmanx driver, it incremented the pending page count after sending the
update request.

If a context switch happened between sending the update and incrementing
the page count, the vsync callback would decrement it from 0 and cause
the uint to overflow.

Throw in a minor C89 fix and some whitespace fixups too.
2017-04-29 17:09:07 -07:00
twinaphex 46bae549ac Fix some coverity warnings 2017-04-29 19:22:44 +02:00
twinaphex 17827940fd Get rid of some if conditionals 2017-04-29 19:21:24 +02:00
twinaphex 4d419b2b56 (sdl_gfx.c) Update 2017-04-29 18:47:29 +02:00
twinaphex 60242e161a Buildfix 2017-04-29 18:45:58 +02:00
twinaphex c147604103 Update 2017-04-29 18:33:50 +02:00
twinaphex 7bdef1fde4 Buildfixes 2017-04-29 18:30:23 +02:00
twinaphex dd83b4a043 (Vita) Buildfix 2017-04-29 17:52:16 +02:00
twinaphex b5e97238ac Optimize video_driver_threaded_{lock|unlock} 2017-04-29 17:38:47 +02:00
twinaphex d86f466fe9 Turn video_driver_is_threaded into macro 2017-04-29 17:33:36 +02:00
twinaphex 03145a0424 Pass video_is_threaded variable to video_driver_init 2017-04-29 17:10:59 +02: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 63504cd9c8 No longer need to grab threaded variable from settings struct 2017-04-29 16:37:49 +02:00
twinaphex 91abbdd4f1 video_viewport_get_custom will never be NULL 2017-04-29 16:22:07 +02:00
twinaphex c8bf28842f Get rid of some calls to video_driver_viewport_get_custom 2017-04-29 16:11:31 +02:00
twinaphex 2322e77795 Add to video_frame_info 2017-04-29 16:07:02 +02:00
twinaphex 79c7627651 Move video_viewport_custom to gfx/video_driver.c 2017-04-29 13:10:01 +02:00
twinaphex 6930262ec2 Update/buildfixes 2017-04-29 12:44:45 +02:00
Francisco José García García afe173c883 [VITA] Really fix build 2017-04-29 12:02:26 +02:00
Twinaphex ccd4bdbd60 Merge pull request #4862 from andrewlxer/master
Fix dispmanx triple buffering race and re-enable triple buffering
2017-04-29 11:16:51 +02:00
Francisco José García García f7c56ddda3 [VITA] Fix build 2017-04-29 09:06:49 +02:00
Andrew 301a094ef9 Avoid potential dispmanx_gfx driver lockup
The dispmanx driver had a small race wherein if the vsync completed
between checking for a free page and waiting on the condvar, it would
hang forever waiting for a condition that would never fire.

I'm hoping this is what was causing the triple buffering lockups. In
my testing with it re-enabled and this fix, things are stable (and
much more performant than with triple buffering disabled).
2017-04-28 20:24:36 -07:00
Andrew 253c8cd997 Revert "DISPMANX: Disable triple buffering for now, for stability reasons."
This reverts commit 0b75671c21.
2017-04-28 20:20:43 -07:00
twinaphex 552845a94d Buildfixes 2017-04-29 02:39:32 +02:00
twinaphex 6d8789f4c1 (GX) Buildfix 2017-04-29 02:03:17 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex 87106b03c1 (3DS) Buildfix 2017-04-28 22:14:34 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex 324227d239 (Win32) Buildfix 2017-04-28 15:59:42 +02:00
twinaphex 4ef0809931 (GX) Another buildfix 2017-04-28 15:29:54 +02:00
twinaphex d1b6a865c4 Buildfixes 2017-04-28 15:29:20 +02:00
twinaphex 684e83ef30 Updates 2017-04-28 15:19:39 +02:00
twinaphex df31ba6255 (Win32) Buildfix 2017-04-28 15:05:12 +02:00
twinaphex 0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex 3ad821c102 (Win32) Buildfix 2017-04-28 14:28:40 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex b792c5deae move bool setting 2017-04-28 12:26:01 +02:00
twinaphex 9e7ac432c3 Try to prevent null pointer dereference 2017-04-28 12:07:11 +02:00
twinaphex 9812dfb4d4 Add conditionals 2017-04-28 12:05:17 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 301ee64e80 Add HAVE_XINERAMA ifdefs 2017-04-26 15:29:21 +02:00
twinaphex fc5d240297 Get rid of some now-unused functions 2017-04-25 23:30:50 +02:00
twinaphex d66aff8fbd Start wrapping settings->input.binds 2017-04-25 18:12:13 +02:00
twinaphex 6ace8ce66a Rewrite autoconf_binds and move it to task_autodetect.c - take
it out of the settings struct
2017-04-25 16:33:30 +02:00
twinaphex 15a8f0c485 Wrap some more settings manipulation 2017-04-25 15:31:32 +02:00
twinaphex 632039f985 Cleanups 2017-04-25 13:28:42 +02:00
twinaphex b6d34e9581 Cleanups 2017-04-25 13:27:40 +02:00
twinaphex ffcb9d4a16 (gl_raster_font.c) Cleanups 2017-04-25 13:25:37 +02:00
twinaphex 03358b2ecd (gl_raster_font) Cleanup 2017-04-25 13:22:55 +02:00
twinaphex 047b10a3de (vulkan_raster_font.c) Small refactors 2017-04-25 13:19:32 +02:00
twinaphex 3917c658f3 Refactor vulkan_raster_font_render_line 2017-04-25 13:16:00 +02:00
twinaphex ee484b693c (vulkan_raster_font.c) Cleanups 2017-04-24 17:39:23 +02:00
twinaphex 765e636214 (Vulkan) Cleanups 2017-04-24 17:21:29 +02:00
twinaphex 2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7.
2017-04-24 12:25:14 +02:00
twinaphex e5b38315fe Revert "Add real_width and real_height to video_info struct - let"
This reverts commit 831ea1a507.
2017-04-24 12:25:07 +02:00
twinaphex 023599366c Revert "Cleanups"
This reverts commit 0021970c16.
2017-04-24 12:25:00 +02:00
twinaphex 8a215ce30e Revert "Cut down on another video_driver_set_size call"
This reverts commit b951c84e01.
2017-04-24 12:24:55 +02:00
twinaphex b951c84e01 Cut down on another video_driver_set_size call 2017-04-24 12:23:09 +02:00
twinaphex 0021970c16 Cleanups 2017-04-24 12:19:47 +02:00
twinaphex 831ea1a507 Add real_width and real_height to video_info struct - let
the drivers set this depending on the video width/height they
get back from the video context driver
2017-04-24 12:18:28 +02:00
twinaphex c8bcbad4a7 video_init function - video_info_t should not be const -
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex 5a3b78bad3 Get rid of more performance counters 2017-04-24 11:24:16 +02:00
twinaphex d06c963a19 Get rid of PERF_ENABLE blocks 2017-04-24 11:20:30 +02:00
twinaphex e411e7c284 Add separate PI macro 2017-04-24 10:31:25 +02:00
twinaphex 365c7f9c8b (Video drivers) Cleanups 2017-04-24 10:08:32 +02:00
twinaphex 8efa2b146e Add this to d3d_alive 2017-04-24 09:44:15 +02:00
twinaphex 34852e159a Cut down on amount of times video_driver_build_info is called 2017-04-23 22:20:11 +02:00
twinaphex 0e3bc69f8c Simplify video shader driver function 2017-04-23 21:53:03 +02:00
twinaphex 087002d9c5 Get rid of unused video_driver_get_frame_count - locking/unlocking
around this variable should no longer be necessary
2017-04-23 21:39:49 +02:00
twinaphex 2dfe441381 Get rid of video_info->frame_count 2017-04-23 19:21:12 +02:00
twinaphex bf7616cf0e Revert "Move structs to gfx/video_thread_wrapper.h"
This reverts commit 12d0073d50.
2017-04-23 19:17:52 +02:00
twinaphex 12d0073d50 Move structs to gfx/video_thread_wrapper.h 2017-04-23 18:28:44 +02:00
twinaphex 7c6b93f58f More cleanups 2017-04-23 17:44:24 +02:00
twinaphex 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
twinaphex 953045f0d2 Update logs 2017-04-23 11:56:46 +02:00
twinaphex 0f2a6f3dd2 Don't use performance counters in GL/Vulkan/video thread wrapper
unless PERF_ENABLE is defined
2017-04-23 11:31:11 +02:00
twinaphex caafee006c Get rid of performance counter for softfilter 2017-04-23 11:26:10 +02:00
twinaphex a88284897b (D3D) Use C-style allocation for d3d->menu 2017-04-23 09:38:44 +02:00
twinaphex f12ea0e1e3 Fix C89_BUILD 2017-04-22 09:37:36 +02:00
twinaphex aa2c29ac8b (exynos_gfx.c) Use memcmp 2017-04-22 09:34:30 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex d77da6b53d Fix bug in shader_glsl.c 2017-04-21 23:10:55 +02:00
twinaphex 284e6b2994 Replace more instances of string_is_equal 2017-04-21 22:51:04 +02:00
twinaphex f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex e9e1db2945 Cleanups 2017-04-21 21:18:28 +02:00
twinaphex bcce88e516 (D3D) Cleanup d3dx9anim.h header 2017-04-21 21:00:22 +02:00
twinaphex 82c62b1693 Use stdstring in more instances 2017-04-21 13:50:24 +02:00
twinaphex 637b26772c Directly initialize some variables 2017-04-20 09:46:03 +02:00
twinaphex 96a9730a08 Cleanups 2017-04-20 09:15:56 +02:00
twinaphex d1ff5dd973 Header include cleanups 2017-04-20 09:14:20 +02:00
twinaphex 4df1ba690d (D3D) Header cleanups 2017-04-19 19:11:58 +02:00
twinaphex d220ce5870 Update D3D9 2017-04-19 18:58:01 +02:00
Twinaphex 8eed4c38cf Merge pull request #4833 from kbrenneman/platform-enums
Define the platform enums if they aren't in eglext.h.
2017-04-19 16:13:07 +02:00
twinaphex 87c5b03bed Get rid of another pragma warning 2017-04-19 16:11:35 +02:00
twinaphex d4ecc6398d (d3d9_cg_renderchain.cpp) Fix header includes 2017-04-19 16:11:00 +02:00
twinaphex 0b3e90dbf4 Header cleanups D3D9 2017-04-19 16:10:11 +02:00
Kyle Brenneman a4d19e174a Define the platform enums if they aren't in eglext.h.
Add #defines for EGL_PLATFORM_X11_KHR, EGL_PLATFORM_WAYLAND_KHR, and
EGL_PLATFORM_GBM_KHR, if they aren't already defiend in eglext.h.
2017-04-19 07:08:05 -06:00
twinaphex 27a6d68af9 Get rid of this pragma 2017-04-19 12:56:25 +02:00
twinaphex d5d04babdd Cleanups 2017-04-19 12:55:41 +02:00
twinaphex 9ca27adb59 Simplify D3D9 headers 2017-04-19 12:46:07 +02:00
twinaphex ca6eee21d9 Add header include for null_renderchain.c 2017-04-19 12:37:54 +02:00
twinaphex 0a33e6e8e4 Fix relative path header includes 2017-04-19 02:17:34 +02:00
twinaphex b15cca82c7 Fix some relative path header includes 2017-04-19 02:15:47 +02:00
twinaphex 841adf04a5 Add header include 2017-04-19 02:14:51 +02:00
twinaphex 5bfc513af4 Buildfixes 2017-04-19 02:03:01 +02:00
twinaphex 00a59629aa Silence some more warnings 2017-04-19 01:57:00 +02:00
twinaphex 7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex 32c91baca6 Move read_viewport and viewport_info to render_chain_gl_legacy.c 2017-04-19 01:25:34 +02:00
twinaphex 7104d329fd Update logs 2017-04-18 06:02:43 +02:00
Kyle Brenneman 7baa75bee0 Add #ifdefs for trying to use eglGetPlatformDisplay.
Add #ifdefs for EGL_VERSION_1_5 and EGL_EXT_platform_base around the calls to
eglGetPlatformDisplay and eglGetPlatformDisplayEXT, respectively.

This avoids compiler errors when the EGL header files don't have the necessary
declarations for EGL 1.5 or EGL_EXT_platform_base.

Follow-up fix for https://github.com/libretro/RetroArch/issues/4790
2017-04-16 17:11:27 -06:00
twinaphex d433d592e1 Do this workaround for now - for Android/Emscripten 2017-04-17 00:26:20 +02:00
twinaphex 96d984b04d (egl_common.c) Cleanups/style nits 2017-04-17 00:04:08 +02:00
Kyle Brenneman fcccc9dc0b Use eglGetPlatformDisplay when it's available.
Added a platform parameter to egl_init_context. If the caller provides a
platform other than EGL_NONE, then it will try to use eglGetPlatformDisplay or
eglGetPlatformDisplayEXT instead of eglGetDisplay.

If neither eglGetPlatformDisplay or eglGetPlatformDisplayEXT is supported, then
it will still fall back to calling eglGetDisplay.

Updated the Wayland, X11, and DRM callers to use the correct platform enum.
Those are the callers that don't just pass EGL_DEFAULT_DISPLAY as the native
display handle.

Calling eglGetDisplay with any value other than EGL_DEFAULT_DISPLAY is
inherently unreliable, because it requires the EGL implementation to guess a
platform type based on a (void *) pointer. Some implementations might not
identify a particular platform, or worse, might guess wrong.

Fixes https://github.com/libretro/RetroArch/issues/4790
2017-04-16 14:19:40 -06:00
twinaphex 0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex 257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex 32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex 809bce6cd9 Start turning most matrix 4x4 functions into macros 2017-04-16 03:45:07 +02:00
twinaphex b591d63e8b Silence unused variable warning 2017-04-15 20:20:47 +02:00
twinaphex 4b419ce125 (iOS) Fix 'release is unavailable; not available in automatic reference
counting mode'
2017-04-15 20:20:08 +02:00
twinaphex 7f4b490fdb Prevent implicit memsets with struct video_viewport 2017-04-15 19:43:52 +02:00
twinaphex e3fce81097 Use BRIDGE macro 2017-04-15 19:28:10 +02:00
twinaphex 1d97a81224 Optimize get_backing_scale_factor - store result of backing scale
factor query and use it for later function call invocations
2017-04-15 19:27:33 +02:00
Twinaphex 2324399fa8 Buildfix 2017-04-15 19:21:10 +02:00
twinaphex e97682d4ca Simplify cocoa_gl_ctx.m 2017-04-15 19:20:42 +02:00
Twinaphex 80017f7d71 (OSX) Try to free allocation at the end of get_selector 2017-04-15 19:13:21 +02:00
twinaphex f9b75e7d76 CXX_BUILD buildfix 2017-04-14 03:40:58 +02:00
aliaspider c04573233c add missing extern "C" guard. 2017-04-11 18:54:26 +01:00
Jools Wills b587018c56 hardcode struct for compatibility between various mali EGL headers
Old kronos headers used mali_native_window, ARM's headers used fbdev_window, and
latest mali-fbdev package on the odroid with newer khronos headers, the struct seems missing
2017-04-07 18:55:33 +01:00
twinaphex 3da08c9d9e Cleanup egl_create_context 2017-03-30 02:39:08 +02:00
twinaphex 38f9b93885 Refine egl_init_context - DRM EGL contexts still fails
at eglGetDisplay
2017-03-30 02:31:51 +02:00
twinaphex 55a0b7d1a9 Create default_ortho static variable 2017-03-25 10:22:57 +01:00
twinaphex 7d79e367f9 (GL) Prevent implicit memset; some other general cleanups 2017-03-25 10:18:24 +01:00
twinaphex d77c209c85 Cleanups 2017-03-25 10:13:18 +01:00
twinaphex b97c8a183d Update log 2017-03-24 01:38:23 +01:00
twinaphex a72cdb77ad Update logs 2017-03-24 01:33:22 +01:00
twinaphex 396857db9a Update logs 2017-03-24 01:28:58 +01:00
twinaphex 755ceda4f9 More consistent log messages 2017-03-24 00:30:14 +01:00
twinaphex 1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
twinaphex 7579d68272 Cleanups 2017-03-24 00:15:17 +01:00
twinaphex 62aa0c4415 Split up dbus functions into separate file 2017-03-24 00:12:21 +01:00
twinaphex 22672af217 Update logs 2017-03-23 23:59:08 +01:00
twinaphex 17235d70e2 Create set_coords_fallback for shader driver 2017-03-23 21:49:29 +01:00
twinaphex 571f899c3d Don't include these headers 2017-03-23 20:09:24 +01:00
twinaphex 805470072b Make desktop_mode a static variable inside x11_common.c 2017-03-23 20:07:56 +01:00
twinaphex 1ce3b12335 Split up xinerama functions into separate files 2017-03-23 19:59:11 +01:00
twinaphex 09e7186a4e Start splitting up xinerama functions 2017-03-23 19:46:06 +01:00
twinaphex 4c0ce28e6e (x11_common.c) Cleanups 2017-03-23 19:36:39 +01:00
Brad Parker 151feee826 add null pointer check, fixes startup crash with null video driver 2017-03-19 19:25:19 -04:00
twinaphex 17739435de Cleanups 2017-03-07 12:59:58 +01:00
twinaphex 4118d0bbd2 Cleanups 2017-03-07 12:49:52 +01:00
twinaphex f4ac760178 Cleanups 2017-03-07 12:37:11 +01:00
twinaphex cb1c8df547 Simplify gl_glsl_set_coords 2017-03-07 12:35:29 +01:00
twinaphex 2be88a44ed (XMB) Fix 2017-02-28 04:50:07 +01:00
Twinaphex 43c32aad3d Silence more warnings 2017-02-26 22:16:03 +01:00
Twinaphex 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex c215fef8dd Updates 2017-02-21 18:58:03 +01:00
twinaphex 873a07030f (Win32) Buildfix 2017-02-21 17:33:51 +01:00
twinaphex d3e8e66b9f Create task_push_load_content_with_current_core_from_companion_ui 2017-02-21 17:29:30 +01:00
twinaphex d74f1a56f3 Create load_content_with_new_core_from_companion_ui 2017-02-21 16:30:47 +01:00
hunterk a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
Jean-André Santoni b700a4e77b (CoreText) Fix loading fonts from a path 2017-02-20 23:11:40 +01:00
twinaphex 4fb3315091 Change to 6 * 2 2017-02-20 21:52:49 +01:00
twinaphex 0d873b6da1 (Vulkan) Add fancy snow for Vulkan 2017-02-20 21:51:58 +01:00
twinaphex 962149ef63 (Vulkan) Add pipeline_snow 2017-02-20 21:25:40 +01:00
Hans-Kristian Arntzen 2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
twinaphex 3cfaf47637 Avoid 'variable may be used uninitialized in this function' warnings 2017-02-19 18:59:02 +01:00
aliaspider 0d945a81d7 stb_unicode: use the same unicode handling code as the freetype
renderer, which supports codepoints > 0xFFFF.
2017-02-19 14:40:05 +01:00
aliaspider 461d6ed3e0 (WiiU) use the TV resolution instead of the gamepad resolution for
viewport settings. fixes #4655
2017-02-17 15:06:48 +01:00
twinaphex 5d8c191df7 Cleanup 2017-02-16 01:30:50 +01:00
Hans-Kristian Arntzen 6395907887 Vulkan: Find supported composite alpha in swapchain. 2017-02-13 16:30:02 +01:00
vanfanel 0b75671c21 DISPMANX: Disable triple buffering for now, for stability reasons. 2017-02-12 19:27:59 +01:00
Nicolas Adenis-Lamarre 9993435cf9 sdl2 renderer: remove the random flashing black borders
on the batocera linux distribution (https://github.com/nadenislamarre/batocera.linux),
retroarch gives some flashing black borders sometimes when running a game.
It looks like sometimes the rendering is done without clearing the screen causing
this flashing effect.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2017-02-08 22:31:26 +01:00
Brad Parker 373535f329 DOS: improve color accuracy and scaling, thanks to aliaspider 2017-02-08 00:17:12 -05:00
Brad Parker 0bdcdac2da DOS: scale menu frame to fit screen 2017-02-05 15:23:38 -05:00
twinaphex 0383d20465 Revert "Revert "Merge lakka patch for DRM""
This reverts commit 4e0ed3d3d6.
2017-02-05 11:06:51 +01:00