22 Commits

Author SHA1 Message Date
misson20000
1404b63219 fix for tearing (depends on libtransistor commit cf5d0403 in v2.0.0, which is yet to be released) 2018-05-30 18:04:58 -07:00
twinaphex
c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
Brandon Wright
7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
twinaphex
9b8713aebd Fix Coverity defects 2018-03-24 11:59:01 +01:00
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
misson20000
e934f11065 NSW: skip frames if we can't acquire a buffer (newer libtransistors use three buffers, making this very unlikely to happen) 2018-03-06 20:55:40 -08:00
misson20000
4a4de74518 NSW(gfx): clear image row-by row for better caching (it's seriously a LOT faster), do pixel format conversion in scalers, and remove timing debug messages 2018-03-06 19:52:03 -08:00
misson20000
90c36c52ce NSW: fix graphics driver colors for rgb32 and don't break aspect ratio when scaling menu texture 2018-03-05 23:45:28 -08:00
misson20000
7487d938b3 NSW: remove global state in graphics driver, as it is no longer necessary 2018-03-05 20:14:52 -08:00
twinaphex
7dcd46a20f Get rid of HAVE_MENU ifdefs for video_driver_poke interface 2018-01-30 22:14:47 +01:00
twinaphex
bb1fdad0d9 (Switch) Replace malloc() with calloc() in switch_gfx.c 2018-01-23 06:48:10 +01:00
misson20000
5f8c888e0f [NSW] remove checks for running under Mephisto, since not only do they prevent us from running under Yuzu, but we don't have libtransistor_context anymore 2018-01-22 20:36:32 -08:00
twinaphex
7e9945cde9 Buildfix 2018-01-09 23:47:13 +01:00
SaltyFist
ad695a8b72 (switch) Add support for RETRO_PIXEL_FORMAT_XRGB8888 2018-01-04 07:28:17 +01:00
misson20000
a039e6c41e (NSW) temporary fix for graphic buffer dequeue failure 2018-01-04 07:28:12 +01:00
twinaphex
cf3a010ead Remove some HAVE_MENU ifdefs 2017-12-31 17:42:07 +01:00
misson20000
be5ebbc039 (NSW) since we haven't yet gotten the OS graphics driver, upon calling display_finalize, to release some of the (currently global) resouces we give it when we initialized it, we need to maintain a little bit of global state in the graphics driver so it can be freed and reinitialized when we load a core. this should be able to be reverted when we implement alloc_pages in libtransistor. see https://github.com/reswitched/libtransistor/issues/74 and https://github.com/reswitched/libtransistor/issues/69 2017-12-31 03:04:15 +01:00
misson20000
6254ddecf2 (NSW) initial support for menu 2017-12-30 11:14:45 +01:00
twinaphex
893cd2b472 Make this C89-compatible 2017-12-29 04:46:13 +01:00
misson20000
3101ee8036 (NSW) fix compilation errors and warnings for switch drivers 2017-12-29 04:45:25 +01:00
twinaphex
5c876647ed (NSW) Small cleanups 2017-12-29 00:45:00 +01:00
misson20000
6d2a7b1f26 Nintendo Switch (libtransistor) port 2017-12-29 00:10:01 +01:00