1455 Commits

Author SHA1 Message Date
twinaphex
1e73dcfb1d (Lakka) Some cleanups 2014-06-01 01:08:39 +02:00
twinaphex
d362fa818a (Lakka) fix build 2014-06-01 00:48:54 +02:00
Themaister
4449f071ed Create rarch_reinit_drivers().
Avoid rarch_set_fullscreen() calls which are non-intuitive.
2014-06-01 00:42:36 +02:00
Themaister
79bd141839 Don't pass useless argument to set_texture().
Be more defensive in rmenu texture upload.
2014-06-01 00:20:54 +02:00
twinaphex
ea49c5ecae Revert "(RMenu) Take out menu_texture_inited bool"
This reverts commit 36820347b3de8fd28f1c9288d8a521ca123bb0f4.
2014-05-31 23:47:35 +02:00
Themaister
f1b3252193 Don't init assets from init.
Rename to context_reset/context_destroy and let the driver init/uninit
step signal the menu when the context is going down and coming up.
2014-05-31 23:24:46 +02:00
twinaphex
d5ec0c8d90 (Lakka) Add glDeleteTextures calls to lakka_free_assets 2014-05-31 23:19:59 +02:00
twinaphex
36820347b3 (RMenu) Take out menu_texture_inited bool 2014-05-31 23:01:20 +02:00
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
61ec27fd5c (Menu) Use driver.menu instead of grabbing pointer from menu.driver 2014-05-31 22:56:33 +02:00
twinaphex
262c1aa54b Softfilter toggling currently broken 2014-05-31 22:38:09 +02:00
twinaphex
5e05665a0e (Menu) Replace rgui pointers everywhere in menu code with driver.menu 2014-05-31 22:35:08 +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
deb737e3c5 Start getting rid of continuous grabbing of pointer from driver.menu
and instead use driver.menu directly from the menu code everywhere
- starting with menu_common - backend and display drivers next
2014-05-31 21:45:16 +02:00
twinaphex
9b545db864 It should be possible to move the definiton of this struct to
driver.h now - now that all the dependencies are gone
2014-05-31 21:31:31 +02:00
twinaphex
d63a23dd06 Header changes 2014-05-31 21:23:53 +02:00
twinaphex
e3983d386b (Lakka) Build fixes 2014-05-31 21:17:08 +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
d3c36ad5ad (file_list.c) Make file_list_get_at_offset more robust 2014-05-31 20:02:02 +02:00
twinaphex
711a776f02 (Menu) Refactors 2014-05-31 19:22:23 +02:00
twinaphex
b4256ac0ed Cleanup menu_common.h 2014-05-31 16:48:07 +02:00
twinaphex
cc08dd30d9 (Menu) Get rid of some unneeded includes in menu_common.h 2014-05-31 16:41:11 +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
Twinaphex
76c153f9a3 Merge pull request #721 from lakkatv/lakka
(Lakka) Fix init and reinit only textures
2014-05-31 14:39:22 +02:00
Themaister
1a2752a0bc Fix crash on startup. 2014-05-31 14:37:57 +02:00
Jean-André Santoni
09ec46e6b5 (Lakka) Fix init and reinit only textures 2014-05-31 13:25:33 +02:00
twinaphex
261ac0e3e7 (RARCH_CONSOLE) Now uses same menu input binds for menu as
PC - allows analog sticks to be used for navigation as well
for consoles
2014-05-31 05:41:32 +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
71032bafb3 (RMenu XUI) Build fix 2014-05-30 22:37:23 +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
f49ea47040 (RMenu) Implement shader parameter representation logic in
RMenu display layer
2014-05-30 22:04:53 +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
a282a10ba9 (Lakka) Build fix 2014-05-30 21:15:39 +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
776d4599e3 (Menu) Fixes crash when toggling fullscreen mode in menu mode 2014-05-30 20:55:59 +02:00
twinaphex
8c1b4a3835 (Menu) Get rid of spammy log 2014-05-30 20:53:49 +02:00
twinaphex
b2d9c60613 (Menu) Don't pass menu data to menu_iterate
(Menu) Don't pass menu data to backend - postprocess
2014-05-30 20:53:10 +02:00
twinaphex
04c84dc36c (RGUI) Return null if calloc of rgui struct fails in rgui_init 2014-05-30 20:41:31 +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