Commit Graph

565 Commits

Author SHA1 Message Date
Themaister ec92abba9f Full fullscreen toggle and DSP reinit.
Softfilters broken due to menu reinit. The whole menu stack gets flushed
out causing infinite loop.
2014-05-31 22:58:22 +02:00
twinaphex 262c1aa54b Softfilter toggling currently broken 2014-05-31 22:38:09 +02:00
twinaphex 9212043920 (Menu) More cleaning up - replace rgui pointer with driver.menu
everywhere in menu_common_backend.c and disp/rgui.c
2014-05-31 22:20:27 +02:00
twinaphex ecb21743f8 (Menu) Convert rgui->shader into void* too 2014-05-31 21:08:32 +02:00
twinaphex 8f8f757d65 (Menu) Turn core_info_current into void* 2014-05-31 20:37:37 +02:00
twinaphex 711a776f02 (Menu) Refactors 2014-05-31 19:22:23 +02:00
Themaister 53661c5dea Avoid global info_selection_ptr.
Don't reset selection_ptr after info screen.
2014-05-31 14:52:27 +02:00
Themaister 768e23ef4d Clarify that SIGINT/SIGTERM is fine. 2014-05-31 14:48:29 +02:00
Themaister 3e3bc4fd28 You cannot disable composition on Windows 8. 2014-05-31 14:44:06 +02:00
Themaister 1a2752a0bc Fix crash on startup. 2014-05-31 14:37:57 +02:00
twinaphex db0da490fa (Menu) Add Info button - press 'Select' on the RetroPad to
have a message box pop up on an item. It will provide you with
info on the item. Not all items covered yet but it's coming along.
2014-05-31 05:14:44 +02:00
twinaphex cb4f3fb8e0 Move unused variable inside HAVE_SHADER_MANAGER ifdef 2014-05-30 22:31:49 +02:00
twinaphex d7aa48aa33 (Menu) Don't pass rgui pointer to menu_build_scroll_indices 2014-05-30 22:06:54 +02:00
twinaphex 6307202a6d (Menu) render_messagebox/render/frame functions from menu_ctx no longer
get a rgui handle passed to them
2014-05-30 21:51:12 +02:00
twinaphex 0c6b167e4d (Menu) Don't invoke rarch_set_fullscreen for 'defaulting' SoftFilter 2014-05-30 21:12:09 +02:00
twinaphex 68c9a6003c (Menu) Prevent another few segfaults when trying to 'default'
softfilter - have to continually grab pointer back to driver.menu
after some function occurred that could have changed driver.menu
2014-05-30 21:10:15 +02:00
twinaphex e313c9d181 (Filters) Fixes filter applying - don't do rarch_set_fullscreen
for applying filters - instead do rarch_deinit_filter and rarch_init_filter - faster and less bug-prone since rarch_set_fullscreen will also bring
down menu
2014-05-30 21:01:17 +02:00
twinaphex 34ed0b3e04 (Menu) Get rid of hacky menu_reinit_context - NOTE - looks like the
RGUI display driver does not clean up all the state since continually
invoking rarch_set_fullscreen will eventually cause segfaults
2014-05-30 20:37:47 +02:00
twinaphex 779c467191 (Menu) Get rid of passing rgui pointer around to most functions in
menu backend. NOTE: Applying filters seems to be broken on PC
right now, investigate
2014-05-30 20:23:20 +02:00
twinaphex c57f780d9f (Menu) Start undoing passing rgui pointer to every menu-related
function - the only functions where it should actually pass a
pointer instead of just grabbing a pointer from menu.driver should
be in the menu init/deinit functions
2014-05-30 19:34:01 +02:00
twinaphex 0488dca77a (Menu) Some cleanups to prevent crashing when applying softfilter
several times - should do something about this menu pointer being
passed around from function to function
2014-05-30 18:52:03 +02:00
twinaphex d267f27130 (Style nit) Rename 'init' to 'initialize' in comments
(Filter) Get rid of questionable ifdef for HAVE_FILTERS_BUILTIN for
filter init
2014-05-30 18:23:32 +02:00
twinaphex af440bf545 (Menu) Menu now gets inited from driver.c instead of frontend.c
(Console) Better way to 'restart' instead of using the function
'restart' - call rarch_set_fullscreen instead. 'Restart' function
in driver interface can go now
(Menu) Menu now gets properly deinited/reinited when - say -
rarch_set_fullscreen is toggled or some other state change like this.
If init_assets function of menu_ctx_driver is implemented, this should
ensure all GL/D3D assets get 'cleaned up' prior to teardown of the video
driver, and properly reinited after the video driver is brought up again
2014-05-30 17:49:04 +02:00
twinaphex 9319fb7c5b (Menu) When applying softfilter, use rarch_set_fullscreen
for all targets
2014-05-30 09:02:56 +02:00
twinaphex e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
Twinaphex a56d57c615 Merge pull request #706 from libretro/shader-parameter
Shader parameter
2014-05-27 16:28:06 +02:00
twinaphex 3a5011afcc (Menu) Add Content Directory option 2014-05-27 07:57:28 +02:00
twinaphex bc41b942e6 (Menu) Browser Directory was erroneously named 'Content Directory' 2014-05-27 07:53:39 +02:00
Themaister ca3d4416d3 Can save parameters. Can tweak on RGUI presets and current shader. 2014-05-26 18:48:29 +02:00
Themaister b38c30b368 Can tweak shader parameters from RGUI.
Just need to figure out how to handle parameter saving now.
2014-05-26 18:47:49 +02:00
Themaister dfd33a8f3f Rename Video Filter Directory.
Overflowed RGUI.
2014-05-26 16:09:19 +02:00
twinaphex 496915eb20 (Menu) Add Autoconfig Dir Path option 2014-05-26 02:57:44 +02:00
twinaphex 09f5f2c25a (Menu) Expose logging verbosity and libretro log level to menu
(Settings) Save logging verbosity
2014-05-26 02:44:58 +02:00
Themaister 25e56d8db0 Kill support for XML shaders.
Long overdue ...
2014-05-25 17:16:45 +02:00
Themaister 42d501fae1 Rename Game Speed Cap. 2014-05-25 17:01:16 +02:00
Themaister 07ab8c0052 Whitespace derp. 2014-05-25 13:18:24 +02:00
Themaister 745cab4f4e Fixups for fastforward_ratio and slowmotion_ratio.
Rename to Game Speed Cap in RGUI, more clear.
2014-05-25 13:13:55 +02:00
twinaphex d536435ea2 (Menu) Expose fast-forward ratio and slowmotion ratio to menu_common_backend 2014-05-25 06:09:12 +02:00
twinaphex 405d8b4370 (Menu) Refactor menu_defer_core to make it have less dependencies 2014-05-22 06:19:15 +02:00
twinaphex 9e1dfbef29 Split up defer core functionality to menu_common and create
callbacks for menu backend context-specific operations
2014-05-22 03:12:56 +02:00
Themaister 1b9bbbd381 Some Panning fixes. 2014-05-20 14:00:48 +02:00
Themaister addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +02:00
twinaphex d62164c4ae (BB10) Build fixes
(General) Fix some unused variable warnings
2014-05-17 22:16:25 +02:00
twinaphex fda33fec90 (Settings data) More shuffling around 2014-05-11 04:28:53 +02:00
twinaphex b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex ac2ddc3b20 Add 'assets' directory - interfaces like menus will try to look
here for loadable assets, etc. Can be expanded in scope later on
as well as a sandbox directory for user-modified content.
2014-05-10 05:12:31 +02:00
twinaphex f656336b7f (Lakka) Use strlcpy/strlcat
(Menu) Abstract menu_init_core_info - we can have different
implementations of this per menu drivers
2014-05-09 21:00:50 +02:00
Themaister 05eac0c8a2 Add new libretro_directory.
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +02:00
twinaphex 0454ac623e (Menu) Move 'rgui' global variable to 'driver' struct 2014-05-09 05:47:32 +02:00
Themaister 98e24cf3e5 Don't add Joypad w/ analog option unless necessary. 2014-05-01 11:50:55 +02:00
twinaphex cdc60da07f (DSP Filters) Add code for HAVE_BUILTIN_FILTERS 2014-04-29 21:56:50 +02:00
twinaphex 931d54df1d (SoftFilters) Rewrite softfilter_get_implementation_from_idx - should be more
easily maintainable now without ugly switch
2014-04-28 22:38:05 +02:00
twinaphex 6f13028aba (Audio DSP) Make it no longer dependent on HAVE_DYLIB being
defined
2014-04-28 06:45:50 +02:00
twinaphex 9f3ffa077d (Menu) Add DSP filter options 2014-04-27 18:15:41 +02:00
twinaphex 6743066ab5 (MSVC) Fix unreferenced variable warning 2014-04-27 01:15:28 +02:00
Themaister 9e865d22c9 clamp axis_threshold to avoid potential floating point issues. 2014-04-26 20:26:03 +02:00
twinaphex 5db500b4a1 (Menu) Add input_axis_threshold option to menu 2014-04-26 15:57:53 +02:00
twinaphex 598bb03c0e Make shader menu backend functions into stub functions if shader
support is not built-in
2014-04-26 02:52:56 +02:00
twinaphex 6f05cce0de Get rid of menu_common_settings.c - add remaining public functions to
menu backend interface
2014-04-26 02:40:38 +02:00
twinaphex 3d8d807e6b Refactor a bunch of menu code - menu 'settings' can now be implemented
per-menu context
2014-04-26 01:54:15 +02:00
Themaister e780c1fed1 Changing filters requires driver reinit. 2014-04-15 12:25:41 +02:00
Themaister 4913683462 Small filter fixes. 2014-04-15 12:22:01 +02:00
twinaphex 6bdd5cf6ec Add RGUI actions for Softfilter directory path and Softfilter selection -
maister - test if this works - it doesn't here on my end and keeps saying
that the example softfilter (dark.c) has the wrong color format)
2014-04-15 06:19:24 +02:00
twinaphex 125d9e837e Add load_dummy_on_core_shutdown option to cfg and RGUI 2014-04-14 06:07:17 +02:00
twinaphex 9dfcded389 (Menu) Refactor menu code -move backend menu code to separate driver 2014-04-14 02:32:54 +02:00