Commit Graph

167 Commits

Author SHA1 Message Date
twinaphex b7321df63c (Database) Fix database runloop on data runloop 2015-04-14 08:10:12 +02:00
twinaphex c25e397261 Move rarch_main_data_overlay_iterate over to data_runloop_iterate 2015-04-13 20:18:32 +02:00
twinaphex 79c93b444d Crate main_data_overlay_image_upload_iterate 2015-04-13 19:22:35 +02:00
twinaphex d7ee7efac5 (runloop_data.c) Refactors 2015-04-12 07:17:55 +02:00
Twinaphex 3fbf105c5e (runloop_data.c) Sleep for 10 milliseconds per data runloop thread
iteration - should fix high CPU usage issues
2015-04-12 06:45:38 +02:00
twinaphex f16e19e5b4 (runloop_data.c) Cleanups/style nits 2015-04-11 09:33:20 +02:00
twinaphex 89366b9b35 (runloop_data.c) Cleanups 2015-04-11 09:25:41 +02:00
twinaphex 6cb2c57c0e (DB) Create message queue for db operations 2015-04-11 09:17:27 +02:00
twinaphex 09feb15e97 Simpler way of showing download progress message on threaded
data runloop (also usable for other messages in the future)
2015-04-11 03:34:26 +02:00
twinaphex 6b617f498b Refactor rarch_main_data_db_iterate some more 2015-04-11 03:13:52 +02:00
twinaphex b385e0f39e (rarch_main_data_db_iterate) Make it more robust 2015-04-11 03:06:50 +02:00
Twinaphex 4f02cc306b (Data runloop) Remove unused variable 2015-04-11 02:06:33 +02:00
twinaphex 156204293c Create rarch_main_data_nbio_image_upload_iterate 2015-04-11 02:01:08 +02:00
twinaphex 91e70cae41 (Data runloop) Cleanup some unused variables 2015-04-11 01:42:16 +02:00
twinaphex 11d75d088c (data runloop) Start creating separate message queue for data runloop 2015-04-11 01:17:46 +02:00
twinaphex d4b10f1094 Comment out download progress message for now - causes threading
issues with threaded data runloop
2015-04-11 00:11:49 +02:00
twinaphex a27c0714cb Take chunk_type out of struct 2015-04-10 23:45:56 +02:00
twinaphex 642a5ddb40 Put HAVE_THERADS guard around conditional 2015-04-10 23:31:53 +02:00
twinaphex 64e3e40bb6 rarch_main_data_thread_init - cleanup 2015-04-10 23:22:57 +02:00
twinaphex c9986f871d Cleanup rarch_main_data_thread_init 2015-04-10 23:20:48 +02:00
twinaphex c4020ebbd3 rarch_main_data_thread_init - cleanup 2015-04-10 23:17:29 +02:00
twinaphex 47b3895208 (Data runloop) Create locks before creating thread 2015-04-10 23:15:19 +02:00
twinaphex 48b71c8e01 (Runloop data) Move http_iterate to non-threaded data runloop for now - code
not thread-safe for now
2015-04-10 22:41:37 +02:00
twinaphex 9a36db00a4 Put rarch_main_data_nbio_iterate on threaded data runloop 2015-04-10 22:36:14 +02:00
twinaphex ce5f3a9171 Start using threaded data runloop 2015-04-10 22:30:56 +02:00
twinaphex 830af534b6 (Runloop) Move some functions out of data_runloop_iterate 2015-04-10 22:16:07 +02:00
twinaphex 1ed0fd0495 (runloop_data.c) Refactor HTTP runloop code 2015-04-10 22:01:07 +02:00
twinaphex d9c568f6e8 Refactor rarch_main_data_nbio_image_iterate 2015-04-10 20:46:31 +02:00
twinaphex f13ab52ff6 (runloop_data.c) Early return if image is NULL 2015-04-10 20:29:48 +02:00
twinaphex 1949a2dfa5 Create rarch_main_data_nbio_image_iterate 2015-04-10 20:26:25 +02:00
twinaphex d4b4d5e3b9 Start refactoring runloop_data 2015-04-10 20:22:21 +02:00
Lioncash b68048e6db Fix some printf format specifiers
Gets rid of warnings on higher warning levels
2015-04-03 15:09:17 -04:00
twinaphex bff9eaa4f2 (runloop_data.c) Initialize variable to prevent warning 2015-03-29 17:29:05 +02:00
Radius 12fc6fa3c6 fix indentation 2015-03-25 22:28:59 -05:00
Andrés 20b6bbc659 Print progress in the OSD 2015-03-25 16:21:34 -05:00
Andrés d8eb6d031f Make download progress a percentage 2015-03-25 15:55:57 -05:00
twinaphex c7e78d48d5 Create runloop_data.h 2015-03-24 13:45:53 +01:00
twinaphex eb1dda367c Take out IS_SALAMANDER define in runloop_data.c 2015-03-24 12:56:55 +01:00
twinaphex ba938da348 Fixes segfault with environ SHUTDOWN with prboom 2015-03-23 23:40:36 +01:00
Twinaphex 242bfaba78 Remove unused variables 2015-03-22 09:36:32 +01:00
twinaphex 3181705a2d Style nits 2015-03-22 08:00:53 +01:00
twinaphex 36351bf78d Create menu_driver_load_background 2015-03-22 06:48:03 +01:00
twinaphex 4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
Twinaphex 89ff0f0fe4 Update data_runloop_iterate 2015-03-22 01:21:28 +01:00
twinaphex 7678433cac (MSVC) Buildfixes 2015-03-21 06:48:32 +01:00
twinaphex 6cefa69aa4 Go through settings pointer 2015-03-20 19:48:23 +01:00
twinaphex 106e5e9eb4 rarch_main_data_deinit - add free 2015-03-20 18:55:58 +01:00
twinaphex c287b03841 g_data_runloop - turn it into a pointer 2015-03-20 18:54:03 +01:00
twinaphex 1481c09402 Go through wrapper for accessing g_data_runloop 2015-03-20 18:36:18 +01:00
twinaphex 27b6d5776a Cleanups 2015-03-20 18:07:09 +01:00
twinaphex d2c97de070 Move net_compat/net_http to libretro-common 2015-03-20 17:56:00 +01:00
twinaphex 873c306a41 (PSP) Buildfix 2015-03-20 02:10:14 +01:00
twinaphex f73e65fc7c runloop_data.c - update 2015-03-20 01:50:14 +01:00
twinaphex 7a8325950b Ifdef some code with HAVE_THREADS 2015-03-20 01:43:58 +01:00
twinaphex f6a791a3e0 Call rarch_main_data_deinit from outside 2015-03-19 07:28:46 +01:00
twinaphex 58cf81d1d8 Refactor thrading code in runloop_data.c 2015-03-19 07:18:27 +01:00
twinaphex 461e358693 (Runloop data) More changes 2015-03-19 00:13:54 +01:00
twinaphex 14089975b4 (Runloop data) Flesh out data thread callback 2015-03-18 23:39:33 +01:00
twinaphex e8bfadae1d (runloop data) More changes 2015-03-18 23:20:07 +01:00
twinaphex 06279ee6c3 (data runloop) Refactors 2015-03-18 23:13:00 +01:00
twinaphex 0d16858eff (runloop_data.c) Some changes 2015-03-18 22:37:27 +01:00
twinaphex 578f59292b (runloop data) Add HAVE_THREADS around some threading-only code 2015-03-18 22:27:52 +01:00
twinaphex b6bf600393 Begin with experimental threading implementation of data runloop 2015-03-18 22:11:53 +01:00
twinaphex b6ad998624 Refactor rarch_main_data_clean_state 2015-03-18 21:26:36 +01:00
twinaphex 4aa262b1ed Create rarch_main_is_idle 2015-03-18 20:48:17 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 8fd08bb6fe Move internal struct definition to runloop_data.c 2015-03-18 05:50:37 +01:00
twinaphex dc17a30f17 Create rarch_main_data_clear_state 2015-03-18 05:35:05 +01:00
twinaphex 86366dba1e (PSP) buildfix 2015-03-15 19:32:11 +01:00
twinaphex 4729da05bd (runloop_data.c) Add DATA_TYPE_OVERLAY 2015-03-15 07:07:59 +01:00
twinaphex f094a76c22 Simplify rarch_main_data_msg_queue_push 2015-03-15 06:44:01 +01:00
twinaphex 27367a733b (runloop_data.c) Create rarch_main_data_msg_queue_push 2015-03-15 06:41:04 +01:00
twinaphex 892e665f40 Move definition of globals for g_data_runloop and g_runloop
out of settings.c
2015-03-15 03:21:58 +01:00
twinaphex 96ae2e9882 Move code over to runloop.h 2015-03-15 02:00:11 +01:00
twinaphex 55f517fff0 Put ifdef around rarch_main_data_iterate_overlay 2015-03-15 01:46:00 +01:00
twinaphex 7d45268506 (runloop_data.c) Fix uninitialized variable warning 2015-03-15 01:44:58 +01:00
twinaphex 4a68e58b8c (runloop_data.c) Move rarch_main_iterate_overlay_state to runloop_data.c 2015-03-15 01:39:43 +01:00
twinaphex 2103c13932 Fix Wii build 2015-03-14 21:32:48 +01:00
twinaphex 990253ac7f (Database) Move msg_queue_clear/msg_queue_push to rdl free function 2015-03-14 20:22:45 +01:00
twinaphex 96387d5974 (runloop_data.c) Pass http_handle_t pointer to callback function 2015-03-14 20:04:53 +01:00
twinaphex 55a3b5a80f (runloop_data.c) Pass pointers around 2015-03-14 19:59:37 +01:00
twinaphex 4feec93426 (runloop data) Cleanups 2015-03-14 15:54:16 +01:00
twinaphex 067a9e46dd (runloop data) Do early return in rarch_main_data_http_iterate if http is NULL 2015-03-14 15:51:28 +01:00
twinaphex 0e85b11046 (runloop data) Properly namespace everything in runloop_data.c 2015-03-14 15:50:34 +01:00
twinaphex 645c8bb0cc (Menu) Use separate iteration stepping for image processing 2015-03-14 03:58:35 +01:00
twinaphex 608df4f6de (Runloop) Nonblocking image processing 2015-03-14 03:49:59 +01:00
twinaphex 9a0bd3c650 (RPNG) Rewrite rpng_nbio_load_image_process 2015-03-14 03:18:15 +01:00
twinaphex 533f647fe0 (Image) Add 'is_blocking_on_processing' and 'is_finished_with_processing'
variables to nbio_image_handle_t
2015-03-14 03:07:17 +01:00
twinaphex 06dcd7543f (Image) Add texture image handle to nbio_image_t 2015-03-14 03:02:59 +01:00
twinaphex c45d3f60a1 (runloop) Move data sources to struct 2015-03-07 14:12:41 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex 5fb591ecf9 Make HTTP connection info code non-blocking 2015-02-26 05:35:58 +01:00
twinaphex 0006f0a429 Make process a part of rpng_t 2015-02-26 03:49:35 +01:00
twinaphex 92c993ffb3 Set frame_count back to 0 when cleaning up 2015-02-26 01:47:16 +01:00
twinaphex f528fb07bb Add logging for file/image transfer 2015-02-26 01:46:08 +01:00
twinaphex 9cf5044430 Add frame_count to nbio and image 2015-02-26 00:50:34 +01:00
twinaphex c07bab40ed Set image.cb back to NULL in case error happens in cb_nbio_image_menu_wallpaper 2015-02-25 08:02:31 +01:00
twinaphex 553ff3ab82 (runloop_data.c) More refactors 2015-02-25 08:00:10 +01:00
twinaphex 529c2625e7 (MSVC) Build fixes 2015-02-25 07:52:54 +01:00