Commit Graph

524 Commits

Author SHA1 Message Date
twinaphex ec2242db02 Implement other driver options too 2014-11-26 21:48:02 +01:00
twinaphex 195e0f2aa2 Generalize variable names 2014-11-26 21:40:51 +01:00
twinaphex d96d0059b7 Build fix 2014-11-26 21:37:54 +01:00
Jay McCarthy 4f15c31a16 Simplify input_options function 2014-11-26 14:09:32 -05:00
twinaphex 3714bb552f (Apple) Change __IPHONE_3_0 to __IPHONE_4_0 for AVFoundation camera 2014-11-18 18:11:43 +01:00
Twinaphex 0f43deb6d2 (Apple) Start making camera driver OSX-compatible (OSX 10.7 and up/requires AVFoundation) 2014-11-18 18:04:17 +01:00
twinaphex 063470f652 (OSX PPC) Finally works 2014-11-17 21:31:52 +01:00
Mike Robinson 06c102d337 Add audio_max_timing_skew setting
Let users enable very large timing skews if they don't mind
inaccurate audio pitch.
2014-11-16 14:24:58 +00:00
Higor Eurípedes 17c715748d (driver.c) Fix invalid write 2014-11-12 13:14:44 -03:00
twinaphex e872bf69be Use C-style comments 2014-11-12 14:34:48 +01:00
twinaphex 4d5c7a05d1 (Android) C90 build fixes 2014-11-12 14:32:08 +01:00
Jay McCarthy 8a4f65e227 Moving function 2014-11-11 12:23:24 -05:00
Jay McCarthy f2f96bcac8 First draft of ios_menu 2014-11-04 22:01:01 -05:00
twinaphex 4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
Mike Robinson 9d9394662b Fix buffer overflow in dummy_pixels
Size needs to be 32 to allow for 4x4 at pitch 8
2014-10-18 18:29:37 +01:00
Toad King e8f2f92eec change dummy pixel to be a 4x4 texture, works better with some platforms where texture dimensions should be multiples of 4 2014-10-18 00:55:14 -05:00
twinaphex d56105b6e5 Some more stdio.h header includes removed 2014-10-15 07:00:51 +02:00
Twinaphex 3b7dfea93d driver.c - Fix warnings 'declaration shadows a global variable' 2014-10-14 18:42:47 +02:00
Mike Robinson 63741eeb57 Pass flags to init_drivers/uninit_drivers
Allow init/uninit of specific drivers instead of all.
2014-10-09 05:16:00 +01:00
Twinaphex 6f951cbd8b Merge pull request #1106 from lakkatv/xmb
Xmb
2014-10-09 02:41:33 +02:00
twinaphex 3ba45d3eae Create init_lists in menu display driver 2014-10-09 01:31:11 +02:00
Jean-André Santoni 7018d58731 (XMB) Initial commit 2014-10-09 01:21:22 +02:00
twinaphex 1fe95bdafb Create menu_init_list and menu_free_list 2014-10-09 00:23:39 +02:00
twinaphex 3603a56c01 Add null gfx context driver 2014-10-07 14:31:10 +02:00
twinaphex 88dbe4ee63 (Apple) Put safeguards around input_state/button_pressed functions 2014-10-07 04:12:41 +02:00
SuperrSonic e4ed9f098d Deflicker stuff 2014-10-04 01:26:00 -04:00
twinaphex 4f30e1a3d7 A lot of functions could be made static in driver.c 2014-10-03 12:51:02 +02:00
Twinaphex 7027f974eb Merge pull request #1080 from mprobinson/joypad-driver
Fix joypad driver setting
2014-10-03 09:53:47 +02:00
Mike Robinson b165b8fa82 Fix joypad driver setting
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex c25bc493ab Add RARCH_CMD_SHADER_DIR_INIT/RARCH_CMD_SHADER_DIR_DEINIT 2014-10-03 00:13:50 +02:00
aliaspider 6f15383b2c initialize frame_cache and texture_frame to a dummy frame in
init_video_input() to avoid undefined behavior in the init phase in case
they are used before being set.
2014-10-02 21:02:27 +01:00
twinaphex 53c7bf65ed Turn fixed-function vertex coord/matrix code into macros 2014-10-02 14:50:24 +02:00
twinaphex 3a2f3755ad Rename some files 2014-10-01 23:27:52 +02:00
twinaphex dead11f182 Move driver_active variables over to driver global 2014-10-01 22:34:48 +02:00
twinaphex 0311480bc4 driver.c - Indent style nits 2014-10-01 13:32:41 +02:00
twinaphex c016867b2b driver.c - declare variables at top 2014-10-01 13:04:58 +02:00
twinaphex e58c9dc179 Move init_shader_dir/deinit_shader_dir to retroarch.c and make them
non-static functions
2014-10-01 12:49:21 +02:00
twinaphex 1a94f14e50 Move recording and resampler drivers to 'driver' global struct -
moving it outside of g_extern
2014-09-30 21:23:00 +02:00
Twinaphex c37e1505ae Check if driver.frontend_ctx is not NULL in find_video_driver 2014-09-20 23:30:54 +02:00
Higor Eurípedes b6dd4df368 (frontend) Add support for frontend specific video drivers 2014-09-15 16:48:55 -03:00
Higor Eurípedes 85cef84bd4 (driver.c) Add driver_video_resolve()
This function returns the real video driver data when threaded video is
in use.
2014-09-12 17:26:26 -03:00
Lioncash 4e0b25d0fc Remove some dead stores 2014-09-11 09:30:40 -04:00
Jean-André Santoni 5e433abf8b (GLUI) GL based RGUI display driver clone 2014-09-11 04:07:07 +02:00
twinaphex e84db78571 Remove extra conditional for checking if use_float funcptr
points to anything
2014-09-09 22:31:37 +02:00
twinaphex 598421e7d7 Move resampler drivers to audio/resamplers 2014-09-09 21:54:41 +02:00
Lioncash 6b84ccdcef Make some functions static 2014-09-06 00:10:52 -04:00
twinaphex ceb4e05e88 Cleanups - C-style comments, 80-char limit, etc 2014-09-02 04:43:31 +02:00
twinaphex a44665bcae Refactor prev/next driver settings 2014-08-31 19:06:32 +02:00
twinaphex e196f69234 (driver.c) Cleanups 2014-08-27 00:59:18 +02:00
twinaphex 31e7f1009d Refactor find_prev/find_next menu driver functions 2014-08-26 23:19:48 +02:00
twinaphex d05d909373 Get rid of some duplicate get_prev/get_next functions 2014-08-26 23:11:35 +02:00
twinaphex db396976ee Refactor find_prev_* / find_next_* functions 2014-08-26 22:26:23 +02:00
twinaphex 5668e1b89c Cleanups - remove extraneous else 2014-08-26 21:22:01 +02:00
twinaphex 7ce5ebb927 Refactor find_driver_index 2014-08-26 21:13:14 +02:00
twinaphex 623c02405d Refactor find_driver_index 2014-08-26 20:55:24 +02:00
twinaphex e4629c87cb find_driver_index - cleanups 2014-08-26 20:41:39 +02:00
twinaphex 3cfe954b74 Combine all driver_index* functions 2014-08-26 20:32:48 +02:00
twinaphex eb6ff437f3 Move all drivers to beginning of driver.c 2014-08-26 20:21:23 +02:00
twinaphex a468d9e860 Remove unused menu_ctx_find_driver 2014-08-26 20:18:53 +02:00
twinaphex 4dea8caa6f (SoftFilter) Refactor most code associated to SoftFilter plugin - load .filt
files instead of the dynamic libraries directly. Options can be
set in the config file.

There's still a problem with config file options - will work this
out later.
2014-08-19 19:38:33 +02:00
twinaphex 278a758ba9 driver.c - declare variables at top of function 2014-08-16 19:07:21 +02:00
twinaphex ba6d353498 Add RARCH_CMD_AUDIO_SET_BLOCKING_STATE/RARCH_CMD_AUDIO_SET_NONBLOCKING_STATE 2014-08-16 18:56:56 +02:00
twinaphex 2d4cd0a56e Add new cmd enums to rarch_main_command 2014-08-16 18:39:18 +02:00
twinaphex 823be1ce41 Get rid of more driver_funcs macros 2014-08-15 20:51:59 +02:00
Twinaphex 76ee895f24 Add fallback for find_location_driver 2014-08-15 18:38:02 +02:00
Twinaphex ba91b2a8f3 Add fallback for find_camera_driver 2014-08-15 18:29:51 +02:00
Twinaphex e6e96cc74d (OSK) Add fallback for find_osk_driver 2014-08-15 18:13:29 +02:00
twinaphex 33ddbeb149 Rewrite more driver_funcs macros 2014-08-14 20:13:56 +02:00
twinaphex 9992e33a36 Replace more driver_funcs macros 2014-08-14 19:56:45 +02:00
twinaphex e851d279f8 Start getting rid of driver_funcs.h macros 2014-08-14 19:54:22 +02:00
twinaphex 0966d384d8 (OSK) Get rid of HAVE_OSK ifdef 2014-08-14 06:40:33 +02:00
twinaphex 88af50ab82 Add null drivers 2014-08-14 03:05:44 +02:00
twinaphex e1a122843b Add null camera - remove HAVE_CAMERA ifdefs 2014-08-14 02:55:04 +02:00
twinaphex 027bd68bb3 Add location/null.c - get rid of HAVE_LOCATION ifdefs 2014-08-14 02:15:48 +02:00
twinaphex 38ec3146f3 Cleanup driver-contexts 2014-08-13 08:55:29 +02:00
twinaphex fcbbf08109 (Recording) Bake in HAVE_RECORD implicitly 2014-08-12 05:28:43 +02:00
Higor Eurípedes b6df19dffb (SDL*) Merge input drivers 2014-08-11 19:47:30 -03:00
twinaphex 9df8cda62c Refactor video_xscale/video_yscale into video_scale - scales
both X and Y according to same value
2014-08-11 23:57:57 +02:00
twinaphex f910a68083 (GX) Ifdef g_settings.vwidth with GEKKO 2014-08-11 11:00:11 +02:00
Twinaphex 0998c5a203 Merge pull request #866 from SuperrSonic/master
Basic video encoder changer (viWidth), affects GC/Wii only
2014-08-11 10:57:01 +02:00
Higor Eurípedes f53b67aab7 (SDL2) Use sdl_audio.c as audio driver 2014-08-10 19:54:49 -03:00
SuperrSonic 08d95723a9 added viwidth stuff 2014-08-10 16:44:17 -04:00
Higor Eurípedes 46beb117ef (SDL2) Add input driver 2014-08-10 15:00:21 -03:00
Higor Eurípedes 1ea504fcfe (SDL2) Added video driver 2014-08-10 13:39:31 -03:00
twinaphex c564278809 Refactor record init/deinit 2014-08-02 14:17:20 +02:00
twinaphex ea64ea465a driver.c - cleanups 2014-08-02 13:44:36 +02:00
twinaphex e110bd90f5 Refactor DSP filter init/deinit 2014-08-02 13:40:38 +02:00
twinaphex 7d4b6b23c5 Refactor overlay init/free 2014-08-02 12:36:48 +02:00
twinaphex d70693345c Refactor rarch_set_fullscreen calls to rarch_main_command 2014-08-02 03:56:19 +02:00
twinaphex 8082dfb9cc Refactor away rarch_reinit_drivers 2014-08-01 17:26:11 +02:00
twinaphex 65a64c1111 Backport Themaister - Move g_settings.audio.in_rate to g_extern.audio_data.
It's not a setting.
2014-07-23 07:15:57 +02:00
twinaphex 14dbd27873 (Driver) Move find_audio_driver outside of HAVE_THREADS in init_audio -
man, this whole audio/input/video initing/deiniting is still hacky as shit.
2014-07-18 19:58:05 +02:00
twinaphex 5b727b58b7 Make init_video_input more robust - just failing the entire program
like this instead of defaulting to sane defaults is unacceptable
2014-07-18 19:40:26 +02:00
Themaister 1c1c92f38a Drop misleading "fallback" path for input drivers.
The codepath cannot be hit anyways due to checks in find_input_driver().
2014-07-18 18:42:27 +02:00
Tobias Jakobi 9a38d77655 Remove the lima video driver
The driver is now superseded by the exynos video driver. Also limare
only works up to mali kernelspace driver version r3p2, which makes
the driver nonfunctional with the latest r4p0.
2014-07-17 14:55:56 +02:00
Tobias Jakobi 7efa9def07 Add exynos video driver
Documentation is provided in README-exynos.
2014-07-17 14:41:44 +02:00
twinaphex 039aec9019 Make the init input check more robust in init_video_input 2014-07-17 03:19:23 +02:00
Twinaphex 63cd0eb927 Make find_audio_driver/find_input_driver more robust 2014-07-17 03:17:46 +02:00
Twinaphex a990d7e319 Make find_video_driver more robust in case of failure 2014-07-17 03:03:05 +02:00