Commit Graph

145 Commits

Author SHA1 Message Date
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
twinaphex 3fe85d150b (runloop_data.c) More refactoring 2015-02-25 07:49:13 +01:00
twinaphex 4a905e61fc Grab pointer to nbio_handle_t and use it throughout functions 2015-02-25 07:38:42 +01:00
twinaphex 4ff8a4a6e9 Move stuff into typedef structs so that we can create mechanisms
for handling multiple file/image streams at once
2015-02-25 07:32:53 +01:00
twinaphex 15065d3b21 (NBIO) Use 5 increments per frame for nbio_iterate 2015-02-25 07:10:04 +01:00
twinaphex 29ad1b9929 Break out of for loop when rpng_nbio_load_image_argb_iterate does not
return true
2015-02-25 05:39:05 +01:00
twinaphex 2dd6e38fae Do more image iterations 2015-02-25 05:33:17 +01:00
twinaphex 717a92c698 Make image iteration nonblocking as well 2015-02-25 05:30:30 +01:00
twinaphex 234c24c3b3 Move struct image to nbio 2015-02-24 08:40:20 +01:00
Toad King f4a40c5218 [GX] more build fixes 2015-02-23 22:15:36 -06:00
Twinaphex 0bcc444b84 Cleanup unused variable 2015-02-24 03:13:34 +01:00
twinaphex 58a25ef419 Implement nonblocking wallpaper image loading 2015-02-24 03:01:59 +01:00
twinaphex a447d5a682 add some logs to runloop_data.c 2015-02-23 08:24:08 +01:00
twinaphex 5bc168c5c2 Cleanups in rarch_main_iterate_image_poll 2015-02-23 08:05:23 +01:00
twinaphex 2390e17fc7 (Overlay) Add some logic 2015-02-23 06:03:53 +01:00
twinaphex 68fe4bcec6 Start setting up image handling in runloop_data.c 2015-02-23 05:14:36 +01:00
twinaphex 2ad6e65bec (runloop_data.c) Cleanups 2015-02-23 03:00:41 +01:00
twinaphex a33b06291d Split up NBIO/HTTP/image loading code to runloop_data.c 2015-02-23 02:54:14 +01:00