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
Themaister
53bc4c08ed
Check recording based on g_extern.rec and not g_extern.recording.
...
Fixes some segfaults where g_extern.recording and g_extern.rec mismatch.
Makes it possible to record without loading content directly from CLI.
2014-06-16 15:50:53 +02:00
twinaphex
966db762cf
(Menu) More replacement of namespace prefix 'rgui' with 'menu'
2014-06-10 02:06:10 +02:00
twinaphex
d3301083ac
Revert "Create public init_menu/uninit_menu"
...
This reverts commit 8f7e9edd8819fdc1281a069fa06aadaa772b30e3.
2014-06-06 00:51:56 +02:00
twinaphex
8f7e9edd88
Create public init_menu/uninit_menu
2014-06-05 20:26:21 +02:00
twinaphex
07db4ea692
Menu context destroy needs to be grouped in HAVE_MENU ifdef
2014-06-02 22:00:33 +02:00
twinaphex
8e04ac2f12
(PS3 image) Some more safety checks
...
(Driver) Safety check before invoking menu_context_destroy
2014-06-02 18:08:08 +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
41e770eb0c
Derp, call context_reset after init_menu.
2014-06-01 00:29:49 +02:00
Themaister
206ea8012f
Don't completely reinit menu driver unless we're killing Rarch.
2014-05-31 23:54:07 +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
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
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
6f2927cbac
(Filter) rarch_init_failter - Filter init failure was wrongly reported
...
for HAVE_FILTERS_BUILTIN targets
2014-05-30 09:11:56 +02:00
twinaphex
985a5d9779
Remove unnecessary uninit_video_misc
2014-05-30 03:14:10 +02:00
twinaphex
a97b53f9f1
Reimplement driver.*_data_own variables so that they actually
...
work for a usecase now -
on Xbox, full teardown/re-initing of D3D context seems to be
error-prone - so by flagging driver.video_data_own to true inside
of the video_init function, we signal later on to the uninit_drivers
function that we DO NOT want to call the free function of this driver
and clean up the handle.
Instead, this driver should properly retain the handle by returning
the pre-existing handle when (for example) driver.video_data is
not NULL. You can see an example of this in xdk/xdk_d3d.cpp.
Overall still a quite clean solution and we will only use this in
extraordinary conditions (like this Xbox one I suppose) - full
teardown/setup will be the goal for all other platforms where we
can be certain that the state can be brought down and up entirely
during runtime without any problems.
2014-05-30 02:37:48 +02:00
twinaphex
346701fce8
(Xbox) Make hack less ugly
2014-05-30 02:01:29 +02:00
twinaphex
ffd68d4878
(Xbox) Seems that Xbox D3D does not free up all resources
...
for some reason and that they didn't anticipate full teardown/setup.
Not sure if I can confirm, but it has been hell so far trying to get
this to work. So, instead, implement a butt-ugly hack that forces
ownership over video/input lifetime state. Will properly refactor
the driver.*_data_own variables later so that this hack is less
ugly. Ideally we'd solve the teardown/setup problem but given this
is esoteric D3D gibberish - good luck debugging >_>
2014-05-30 01:48:55 +02:00
twinaphex
d70b8a0f15
Get rid of global driver init/uninit bullshit - we're going to do
...
console initing/deiniting properly once and for all
2014-05-28 22:09:42 +02:00
twinaphex
e1387a7b0b
Take out image driver
2014-05-28 21:14:33 +02:00
twinaphex
7b4e735821
Cleanup global_init_drivers/global_uninit_drivers
2014-05-28 18:40:03 +02:00
twinaphex
b2d32fed3e
Place find_image_driver above adjust_system_rates in init_drivers
2014-05-28 08:48:49 +02:00
twinaphex
db189e1094
init_drivers - if driver.image is NULL, set it
2014-05-28 08:44:38 +02:00
twinaphex
0ea15de950
(GL) Force fp_fbo to false for PS3 for now
2014-05-27 21:55:54 +02:00
twinaphex
8fc357647d
(RARCH_CONSOLE) Add find_image_driver() to global_init_drivers
2014-05-27 19:05:04 +02:00
twinaphex
f788249c59
(Menu) Add get_default_menu function for default settings
2014-05-27 17:13:53 +02:00
twinaphex
c55693855b
(Menu) Add find_menu_driver to global_init_drivers as well
2014-05-26 23:39:21 +02:00
twinaphex
17267ff316
(Menu) ifdef find_menu_driver in init_drivers_pre
2014-05-26 23:20:00 +02:00
twinaphex
e69b9c4f8a
(Menu) Initialize menu driver during init_drivers_pre
2014-05-26 23:18:49 +02:00
twinaphex
619c96187b
(Driver.c) driver.c was a big mess - split up into separate files
...
that get included in. Should probably be properly refactored later
on for all targets so that each included file becomes its own
object file
2014-05-26 19:01:40 +02:00
Themaister
c7eee695ce
Remove references to XML shaders.
2014-05-25 23:40:14 +02:00
Themaister
addba80c3b
Rewrite DSP plugin interface.
2014-05-20 12:28:33 +02:00
twinaphex
216a3e4ea7
(QNX) Change __BLACKBERRY_QNX__ define to __QNX__
2014-05-20 02:48:11 +02:00