Commit Graph

554 Commits

Author SHA1 Message Date
twinaphex
6b2fced631 Split up menu code into separate file menu_driver.c 2015-01-12 20:00:43 +01:00
twinaphex
c4bf097d7f Move location_driver.c to location/ 2015-01-12 19:53:10 +01:00
twinaphex
a71b143dad Move location driver code to separate file location_driver.c 2015-01-12 19:51:33 +01:00
twinaphex
f45d9efb37 Move camera_driver.c to camera/ 2015-01-12 19:44:29 +01:00
twinaphex
4b0bd67d8d Split up camera driver code into separate file camera_driver.c 2015-01-12 19:42:43 +01:00
twinaphex
36d68b98b2 Move osk_driver.c to osk/ 2015-01-12 19:29:55 +01:00
twinaphex
2029e13e23 Split up OSK driver code into separate file osk_driver.c 2015-01-12 19:28:40 +01:00
twinaphex
f1196733b1 Move definitions to menu_driver.h 2015-01-12 19:13:45 +01:00
twinaphex
0d9ba863dc Remove menu/disp/menu_display.h and menu/backend/menu_backend.h
and merge into menu/menu_driver.h
2015-01-12 19:11:51 +01:00
twinaphex
d2449f07f7 Move header include to gfx/video_driver.h 2015-01-12 18:57:37 +01:00
twinaphex
f3dc94818e driver.h - cleanups 2015-01-12 18:56:23 +01:00
twinaphex
07a7386c9d Split up input_driver code to separate file - input_driver.c 2015-01-12 18:37:50 +01:00
twinaphex
7f484edc98 Move video_driver.c to gfx/ 2015-01-12 18:28:32 +01:00
twinaphex
0e5a9f03fe Split up video_driver code to separate file 2015-01-12 18:26:46 +01:00
twinaphex
7283ce17bc Move audio_driver.c to audio/ 2015-01-12 18:09:31 +01:00
twinaphex
0fbf48e451 Split up audio_driver code into audio_driver.c 2015-01-12 18:06:38 +01:00
twinaphex
badb29942b Add monitor FPS enable option 2015-01-12 05:59:11 +01:00
twinaphex
371e3ebdd7 Document more of driver.c 2015-01-12 05:37:52 +01:00
twinaphex
9f8c96daa1 Remove unused struct 2015-01-11 15:47:39 +01:00
twinaphex
9817555200 Move convenience macros used in runloop to runloop.c 2015-01-10 04:18:54 +01:00
twinaphex
e28f7c4862 Start documenting resampler.c 2015-01-09 23:04:05 +01:00
twinaphex
9487594aea Start documenting driver.c 2015-01-09 21:07:32 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
31d816b6d3 Start preparing for remap binds 2015-01-05 02:36:10 +01:00
twinaphex
1e3686df40 Change audio_resampler_driver to 'OPTIONS' 2014-12-31 20:17:53 +01:00
twinaphex
ce57697629 Add more HAVE_OVERLAY ifdefs to driver.h 2014-12-29 10:47:30 +01:00
twinaphex
494be5ee07 Move more overlay struct definitions to overlay header 2014-12-29 10:44:35 +01:00
twinaphex
82f6c57966 Add new option 'Show Autoconfig Descriptor Labels' for more
comprehensible button labels per joypad - needs to be added per
autoconfig file
2014-12-16 06:21:18 +01:00
twinaphex
ec2242db02 Implement other driver options too 2014-11-26 21:48:02 +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
Jay McCarthy
8a4f65e227 Moving function 2014-11-11 12:23:24 -05:00
Jean-André Santoni
82e67e7605 (Lakka) Use theme font + responsive font size 2014-11-07 15:05:59 +01:00
Jay McCarthy
f2f96bcac8 First draft of ios_menu 2014-11-04 22:01:01 -05:00
twinaphex
4a45308016 Rename gfx/filters and audio/filters to gfx/video_filters and audio/audio_filters
respectively
2014-10-29 07:51:23 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex
6c193836a5 (Cg) Move cg shader variables to struct and allocate it at shader init 2014-10-26 04:49:58 +01:00
Twinaphex
b437565059 Prevent redefinition of struct 2014-10-26 01:09:52 +02:00
twinaphex
46717d1147 Start moving context driver variables to struct that gets
allocated and bound to driver.video_context_data - begin
with GLX context driver first
2014-10-24 03:12:08 +02:00
twinaphex
81c5019afb Move miscellaneous header over to libretro SDK 2014-10-21 08:39:37 +02:00
twinaphex
d3e16f045a Fix up Salamander 2014-10-21 08:18:45 +02:00
twinaphex
7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex
480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex
c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex
ec002b5f5c driver.h - Indenting nits 2014-10-15 06:23:04 +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
Jean-André Santoni
7018d58731 (XMB) Initial commit 2014-10-09 01:21:22 +02:00
twinaphex
bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex
c35d25c76e Add RARCH_CMD_NETPLAY_FLIP_PLAYERS and RARCH_CMD_FULLSCREEN_TOGGLE 2014-10-08 16:41:08 +02:00
AndresSM
7249ebc00c fix disk_next, add option for disk_prev 2014-10-07 20:19:12 -05:00
twinaphex
e0b977215f Rename some macros for bit get/setting 2014-10-05 15:48:06 +02:00
twinaphex
52f38412d0 runloop.c - Rewrite check_volume into set_volume 2014-10-05 06:10:23 +02:00
twinaphex
54c2522979 Refine check_oneshot function - we no longer need g_extern.is_oneshot
anymore
2014-10-05 05:18:46 +02:00
twinaphex
40186be4cc Add TODO note to driver.h 2014-10-04 14:30:01 +02:00
SuperrSonic
1a98cacee8 Deflicker stuff 2014-10-04 01:27:38 -04:00
twinaphex
4f30e1a3d7 A lot of functions could be made static in driver.c 2014-10-03 12:51:02 +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
c861b4f994 Move gl_wrap_type_to_enum to gfx/gl.c 2014-10-02 01:02:13 +02:00
twinaphex
ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex
0135d763db Move g_extern.netplay to driver.netplay_data 2014-10-01 23:00:05 +02:00
twinaphex
dead11f182 Move driver_active variables over to driver global 2014-10-01 22:34:48 +02:00
twinaphex
a35c61ec90 (Audio driver) Add 'alive' function callback 2014-10-01 21:42:19 +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
Vladimir Panteleev
d0e970f175 Fix/reimplement input flushing
This fixes:

- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing

Architectural changes:

- menu_ctx_driver_t::input_postprocess now takes state and old_state
  (this allows getting rid of menu_handle_t::trigger_state)

Related changes:

- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
  polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
Vladimir Panteleev
85f745e587 Document some input-related variables 2014-09-29 12:56:31 +00:00
twinaphex
ddf5786ad7 Take out unused ANALOG_DPAD_DUALANALOG 2014-09-26 13:32:03 +02:00
twinaphex
eec0724175 Reimplement FLUSH_INPUT 2014-09-25 04:58:26 +02:00
twinaphex
aa6d779fbc Added 1-second timeout when binding hotkeys 2014-09-25 04:44:24 +02:00
twinaphex
2309a3e716 Move input_poll to libretro_version_1.c 2014-09-24 09:52:01 +02:00
twinaphex
63680ca5b4 Go through static variable retro_ctx for libretro backend
functions
2014-09-23 03:55:19 +02:00
Alcaro
ef4fbc752d Merge branch 'master' of github.com:libretro/RetroArch 2014-09-20 00:08:56 +02:00
Alcaro
af2d5ed53f Move this to the bottom for consistency with the other null drivers. 2014-09-20 00:03:35 +02:00
twinaphex
e5c22e3e54 Refactor check_enter_menu 2014-09-19 22:41:40 +02:00
twinaphex
f16a065cdd Fixes 'block hotkey enable' 2014-09-18 04:04:33 +02:00
twinaphex
4c4ae11ab6 Optimizations to input handling in rarch_main_iterate - pass
'trigger' state around
2014-09-17 20:15:56 +02:00
twinaphex
82806dcd85 Hide away last BIND_PRESSED invocations with check_quit_key_func 2014-09-17 17:48:41 +02:00
twinaphex
f7061e7233 Rewrite check_pausegp 2014-09-17 17:45:44 +02:00
twinaphex
3892c8326d Use macro functions to hide away some of the ugliness 2014-09-17 07:38:49 +02:00
twinaphex
191f0b6383 Move input_key_pressed to input_common.h 2014-09-16 07:02:57 +02:00
twinaphex
a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02: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
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
Jean-André Santoni
5e433abf8b (GLUI) GL based RGUI display driver clone 2014-09-11 04:07:07 +02:00
twinaphex
aade2b45ef Style / indent nits 2014-09-09 05:24:32 +02:00
twinaphex
9d783b6627 Style cleanups 2014-09-07 05:47:18 +02: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
5c2006c072 Remove extraneous elses 2014-08-27 02:06:39 +02:00
twinaphex
9287d6363f Remove unused keybind_set_id 2014-08-27 01:04:19 +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
3cfe954b74 Combine all driver_index* functions 2014-08-26 20:32:48 +02:00
twinaphex
a468d9e860 Remove unused menu_ctx_find_driver 2014-08-26 20:18:53 +02:00
twinaphex
6a8ccc3844 Move DEFAULT_SHADER_TYPE from driver.h to gfx/shader_common.h 2014-08-26 19:48:56 +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
a3e8a18d8f Get rid of CONSOLE_MENU enums 2014-08-15 20:54:51 +02:00
twinaphex
d5de35935c Get rid of driver_funcs.h 2014-08-15 20:53:49 +02:00
twinaphex
0966d384d8 (OSK) Get rid of HAVE_OSK ifdef 2014-08-14 06:40:33 +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
12c0311f04 (Input) Get rid of unused devices_size 2014-08-14 00:56:40 +02:00