Commit Graph

231 Commits

Author SHA1 Message Date
Themaister
be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00
Themaister
db183b5d97 Fix shader dir crash if folder doesn't exist. 2013-04-16 12:01:50 +02:00
Themaister
c7c952113a Reset frame_counter on driver reinit.
Avoids "Unnamed Window" for 3-4 secs on restart.
2013-04-16 00:57:46 +02:00
Themaister
c9fed3c6e9 More stringent pointer checking. 2013-04-14 12:24:16 +02:00
Themaister
36ea8f9cf6 Fix logic bug in driver_set_nonblock_state. 2013-04-14 11:52:15 +02:00
Themaister
f968ee6527 Refactor nonblock states.
Preserve nonblock state better across reinits, etc.
Try to keep vsync in RGUI.
2013-04-14 00:56:55 +02:00
Themaister
8fee69776f Disable threaded driver with HW render.
Won't work so simply.
2013-03-30 21:20:26 +01:00
OV2
4c4bbf3cf0 Fix build without HAVE_FBO 2013-03-30 14:48:33 +01:00
Themaister
4bcc566afb Fix some possible segfaults with HW render. 2013-03-28 12:27:40 +01:00
Themaister
1cececac18 Add get_proc_address.
Render something "real" in GL.
2013-03-28 01:11:32 +01:00
Themaister
af40f3e9b8 Add initial GL direct rendering test. 2013-03-27 16:15:15 +01:00
CatalystG
1e58421c84 (BlackBerry) Get input overlay to show when booting to RGUI 2013-03-24 20:42:09 -04:00
twinaphex
82329cf097 (Blackberry) Starts up in RGUI mode now - should (hopefully) allow
for dynamic changing of libretro core and selection of ROM instead
of hardcoded paths.
2013-03-24 01:00:00 +01:00
CatalystG
be9a8e63f4 Add input driver for QNX. Copy null driver for now.
Conflicts:
	griffin/griffin.c
2013-03-19 19:26:36 -04:00
Themaister
51b5a2df5c Refactor aspect_ratio member.
Mutate in g_extern.system.aspect_ratio to avoid
getting wrong aspect ratio on reentrancy.
2013-03-17 22:05:15 +01:00
twinaphex
f028a8555e Revert "Move set_keybinds autoconfiguration (that is done on every console"
This reverts commit c26653fca8.
2013-03-16 17:51:37 +01:00
twinaphex
b59c262971 Revert "Move console 'set default binds' and 'set analog stick' default"
This reverts commit 5f2a808042.
2013-03-16 17:51:00 +01:00
twinaphex
5f2a808042 Move console 'set default binds' and 'set analog stick' default
set_keybindings to global_init_drivers
2013-03-16 17:44:24 +01:00
twinaphex
c26653fca8 Move set_keybinds autoconfiguration (that is done on every console
port) to driver.c - reducing lots of duplicate code
2013-03-16 17:24:24 +01:00
twinaphex
3bc487be87 Merge branch 'ios' of git://github.com/meancoot/RetroArch 2013-03-15 20:05:15 +01:00
twinaphex
24a4618f88 (Minizip) Don't go through ioapi's function pointers - negates
dependency on ioapi.c
(driver.c) ifdef start/stop() calls with RARCH_CONSOLE for now
2013-03-13 05:06:26 +01:00
twinaphex
c28bb3a3fd Move init_console_drivers and uninit_console_drivers to driver.c
and rename them global_init_drivers and global_unit_drivers -
we'll need this for Blackberry, starting RetroArch with RGUI
at startup AND consoles
2013-03-13 04:16:56 +01:00
meancoot
9fadca2a54 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-03-09 20:09:32 -05:00
Themaister
e1a545b695 Explicitly clear out poke interface to NULL. 2013-03-10 01:20:16 +01:00
Themaister
2681f14032 Add video_poke_interface_t. 2013-03-10 01:17:17 +01:00
meancoot
06bb6b7840 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-02-21 22:18:14 -05:00
Themaister
76bf41188a Add video_threaded option to Android. 2013-02-17 00:26:17 +01:00
Themaister
843d079002 Begin adding threaded video driver wrapper. 2013-02-16 02:48:08 +01:00
meancoot
5d139b185b Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-02-15 18:54:57 -05:00
Themaister
11d919b9e8 Fix downsampling for SINC. 2013-02-13 21:55:58 +01:00
meancoot
19fb2fe8f4 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-02-11 17:13:31 -05:00
Themaister
5632836446 Report how many frames is needed to measure FPS. 2013-02-10 14:34:03 +01:00
Themaister
3b5eedeab5 Measure frame times at frame granularity. 2013-02-10 01:42:56 +01:00
Themaister
cb1c3b5943 Add very specific debug logging for FPS measurements. 2013-02-10 00:02:18 +01:00
Themaister
0c460c524d Disregard first measurement for statistics. 2013-02-09 23:26:24 +01:00
Themaister
d33d2e9f0c Make resamplers more modular. 2013-02-08 11:49:51 +01:00
meancoot
7e4e028fc8 ios: Add a simple input driver draft; tracks only one touch for now. 2013-02-06 18:23:11 -05:00
Themaister
1df86a722a Rework FPS measurement. 2013-02-05 12:51:12 +01:00
Themaister
27d57b789a Add basic FPS measurement routines. 2013-02-04 21:46:56 +01:00
Themaister
7ab8eaec02 Use NEON conditionally for sample conversions. 2013-01-24 18:37:42 +01:00
Themaister
019959a012 Add audio buffer statistics measurement. 2013-01-18 10:38:43 +01:00
twinaphex
1b398a1941 (PSP) comment out non-working video driver for now - use null video
for now
2013-01-10 04:22:42 +01:00
twinaphex
589b5eefdb (360) 360 audio driver now goes through the same Xaudio driver
as PC
2013-01-09 22:04:28 +01:00
twinaphex
403a087926 Null drivers have to be explicitly compiled in now -
otherwise they are ommitted
2013-01-09 05:54:48 +01:00
Themaister
31dc256e19 Do not allow audio to be initialized twice. 2013-01-08 13:23:15 +01:00
Themaister
235244e438 Use safer checking when dealing with FP. 2013-01-08 12:42:28 +01:00
ToadKing
1dc08b9a6d (GX) work with new console code 2013-01-07 23:48:21 -05:00
twinaphex
c76ae2a8d1 (RARCH_CONSOLE) Use init_drivers_pre once at startup of console
ports - use driver.video, driver.input as much as possible from
then instead of explicit platform-specific drivers
2013-01-07 18:18:44 +01:00
twinaphex
9251eebe13 (RARCH_CONSOLE) Make find_video_driver public in scope and use
it in console ports
2013-01-07 17:48:45 +01:00
twinaphex
1cae4de653 (Android) More elegant way of setting refresh rate 2013-01-05 06:02:02 +01:00