Commit Graph

171 Commits

Author SHA1 Message Date
twinaphex 25eaab0a2b Start passing input_overlay_t * state around to other functions 2016-05-24 23:15:19 +02:00
twinaphex 5656959085 Free overlay_ptr 2016-05-24 15:30:18 +02:00
twinaphex 160ac49089 (input_overlay.c) Cleanup 2016-05-24 15:29:12 +02:00
twinaphex fd7e2cd394 input_overlay_new - Call input_overlay_free from outside 2016-05-24 15:25:46 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex 69759f5fd7 Remove logically dead code 2016-05-23 21:55:30 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
twinaphex 4ec6cb47ec Use BIT32_SET 2016-05-06 05:16:15 +02:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex 8fc2a05a70 Cleanups 2016-02-05 14:06:43 +01:00
twinaphex 3d56dd1ef8 Cleanup 2016-02-04 21:03:28 +01:00
twinaphex a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +01:00
twinaphex 347a18cb30 Update input headers 2016-01-10 04:33:01 +01:00
twinaphex 08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
Higor Eurípedes 5219116751 (input_overlay) Fix unneeded load and memory leak 2015-12-12 22:23:55 -03:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
Higor Eurípedes 6ab4f8128f (overlay) Fix huge leak when overlays are not supported 2015-11-30 21:32:32 -03:00
twinaphex 21a9bd13a6 (input_overlay.c) Cleanups 2015-11-30 04:47:41 +01:00
twinaphex d4e88324ac Move driver->osk_enable to input_driver.c 2015-11-30 03:14:26 +01:00
twinaphex 1df5d44bdb Rename input/keyboard_line 2015-11-28 16:13:16 +01:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
Higor Eurípedes 29e9b87319 (tasks) Make task handles honor task->cancelled 2015-11-24 22:18:09 -03:00
Higor Eurípedes 46ec7562c1 (overlay) Fix behavior when overlay_hide_in_menu=true 2015-11-23 17:43:37 -03:00
Higor Eurípedes 6f88ece9ab (overlay) Fix memory leak 2015-11-23 17:43:33 -03:00
Higor Eurípedes 9654fabe77 (overlay) Fix on screen keyboard 2015-11-23 17:42:01 -03:00
Higor Eurípedes a0d2bb4c7c Reimplement overlay loading with tasks 2015-11-23 17:42:01 -03:00
twinaphex c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex ee733fcd0f (input_overlay.c) Go through video_driver_get_ptr 2015-11-23 13:24:20 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex eb33e83eff Some more non-HAVE_MENU buildfixes 2015-10-28 08:02:39 +01:00
twinaphex 875023468a Some more MISSING_DECLS buildfixes 2015-09-06 14:59:20 +02:00
twinaphex 0b098b9301 input_overlay.h - cleanup 2015-09-06 03:25:57 +02:00
twinaphex e182f32d8c Header cleanups 2015-09-05 20:03:27 +02:00
twinaphex 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex a1a15164b8 Get rid of input_overlay_get_ptr 2015-08-06 05:14:12 +02:00
twinaphex ae14d8c78a (input_overlay.c) Cleanups 2015-07-12 07:42:14 +02:00
twinaphex b3e054a946 (input_overlay.c) Turn more functions static 2015-07-12 07:32:51 +02:00
twinaphex a0b2e4881a (input_overlay.c) Some more simplifications 2015-07-12 07:28:28 +02:00
twinaphex c9814c9b12 (Overlay) Don't expose input overlay handle to outside 2015-07-12 07:22:52 +02:00
twinaphex 2dbc3c4b56 (Overlays) Cleanups 2015-07-12 07:12:33 +02:00
twinaphex 599ed62849 (Overlay) Refactor some more code 2015-07-12 07:03:39 +02:00
twinaphex 86e7f34666 Create input_overlay_key_pressed 2015-07-12 06:54:35 +02:00
twinaphex 1a4954ce55 Move more code to input_overlay.c 2015-07-12 06:47:39 +02:00
twinaphex 028c9b5e3c (input_overlay.c) Some more safety checks 2015-07-12 01:33:14 +02:00
twinaphex 2121f7a813 Create overlay->alive 2015-07-11 23:45:23 +02:00
twinaphex 5749d5e034 Rename overlay_state_ptr to overlay_st_ptr 2015-07-11 22:45:02 +02:00
twinaphex 396b08513a input_overlay_free_overlay - prevent 'free' on not malloced pointer 2015-07-11 22:07:05 +02:00
twinaphex 17024c4056 (input_overlay.c) Attemp to simplify input_overlay_load_texture_image 2015-07-11 22:03:21 +02:00
twinaphex 5fd65afae1 Have to call config_file_new at the start of every overlay function
and config_file_free at the end of every function
2015-07-11 20:49:04 +02:00
Twinaphex 70607acb6b Turn overlay_state_ptr into non-pointer 2015-07-11 18:22:23 +02:00
twinaphex c3f5ea0fcc Make input_overlay.h no longer depend on RPNG image 2015-07-11 08:14:39 +02:00
twinaphex 1b163e6a5a Cleanup input_overlay.c 2015-07-11 08:07:14 +02:00
twinaphex 70b423cc3e Move config_file.h dependency out of input_overlay.h 2015-07-11 07:51:34 +02:00
twinaphex cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
twinaphex 1461386d07 (input_overlay.c) Refactor input_overlay.c to have it use djb2 2015-06-14 16:53:09 +02:00
twinaphex f85965925c (Input) Cleanups 2015-06-12 23:52:52 +02:00
twinaphex 090fddcdbe (Overlay) Refactor input_overlay_load_desc_image 2015-04-13 20:02:06 +02:00
twinaphex da53a4c683 Create video_driver_overlay_interface 2015-03-22 23:44:58 +01:00
twinaphex 13de784dfc Style nits 2015-03-22 08:14:36 +01:00
twinaphex 842d0aafa5 (input_overlay.c) Cleanups 2015-03-22 04:02:04 +01:00
twinaphex 713c7f6093 Cleanup input_overlay_load_desc_image 2015-03-22 03:56:57 +01:00
twinaphex cd77bc7f68 Simplify input_overlay_load_desc_image 2015-03-22 03:55:04 +01:00
twinaphex b97ea7bc8d Create input_overlay_load_texture_image 2015-03-20 04:12:17 +01:00
twinaphex 1457e50ae5 (Overlay) input_overlay_load_overlays_iterate - cleanups 2015-03-20 03:30:17 +01:00
twinaphex 2a82d4a3c0 (input_overlay.c) Move some code over to texture loading code 2015-03-20 03:26:48 +01:00
twinaphex 9e432b4251 (Overlay) Remove unused variables 2015-03-20 01:47:11 +01:00
twinaphex 97d73557d8 (Overlay) Create OVERLAY_IMAGE_TRANSFER_DESC_IMAGE_ITERATE 2015-03-19 23:13:25 +01:00
twinaphex 758039c3f5 Simplify input_overlay_load_desc 2015-03-19 23:02:50 +01:00
twinaphex ada29dcbd6 Simplify input_overlay.c 2015-03-19 22:52:15 +01:00
twinaphex 8d0297dfe1 (input_overlay.c) Take out general.h include 2015-03-19 04:28:40 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex cea8f0cbe0 (Overlay) Change input_overlay_load_overlays 2015-03-15 00:16:57 +01:00
twinaphex c08fff5a0c (Overlay) input_overlay_load_overlays - split up init part into separate
function
2015-03-14 23:47:13 +01:00
twinaphex 03cda5b208 (Overlay) Take for loop out of input_overlay_load_overlay 2015-03-14 06:29:45 +01:00
twinaphex 35a1582be4 (Overlay) input_overlay_load_overlay - refactor 2015-03-14 06:19:16 +01:00
twinaphex aed8d1887d (Overlay) Cache config file once and clean it up when no longer needed -
config_file_new was taking up at least 11% of rarch_main_iterate_overlay_state's
CPU activity (23.3% in total on OSX)  - should now be far more efficient
2015-03-14 05:45:48 +01:00
twinaphex b89e415018 (Overlay) Simplify some code 2015-02-28 08:00:15 +01:00
twinaphex f30e82bced Remove input_overlay_load_overlay_image 2015-02-27 06:53:10 +01:00
twinaphex fd5e6958fa (Overlay) Should now properly set up first overlay screen as quickly
as possible
2015-02-27 02:26:15 +01:00
twinaphex ec339c184d Set ol->resolve_pos to 0 beforehand 2015-02-27 02:22:05 +01:00
twinaphex d510a502e5 Create ol->resolve_pos 2015-02-27 02:21:17 +01:00
twinaphex 34622f63ed (Overlay) Back to the drawing board 2015-02-27 01:25:08 +01:00
twinaphex cb53153fa1 Update comment in load_overlay_image_done 2015-02-23 22:35:01 +01:00
twinaphex ef91d9a528 Make function static 2015-02-23 22:11:18 +01:00
twinaphex a41c159ece Load first active overlay immediately - much faster 2015-02-23 21:49:08 +01:00
twinaphex 00beda42f2 Add pos_increment to allow us to iterate through steps 2015-02-23 21:14:34 +01:00
twinaphex 89685c5709 Add OVERLAY_IMAGE_TRANSFER_DESC_ITERATE and OVERLAY_IMAGE_TRANSFER_DESC_DONE 2015-02-23 20:57:49 +01:00
twinaphex d44ebefd49 Move more logic to load_overlays 2015-02-23 19:21:28 +01:00
twinaphex 3af7656d42 Move more to load_overlays 2015-02-23 19:18:51 +01:00
twinaphex bdd5df32a8 Move more out of input_overlay_load_overlay 2015-02-23 19:06:22 +01:00
twinaphex fafbadafba Start moving more logic from input_overlay_load_overlay to input_overlay_load_overlays 2015-02-23 18:53:13 +01:00
twinaphex c67ab04e2b (Overlay) Cleanups 2015-02-23 09:28:15 +01:00
twinaphex a5832f4fb1 (Overlay) Cleanup 2015-02-23 09:26:35 +01:00
twinaphex a8ccb02b52 (overlays) If image could be found, set loading status to 'BUSY', otherwise,
set to 'DONE'
2015-02-23 09:25:05 +01:00
twinaphex ea3d55582a Refactor OVERLAY_IMAGE_TRANSFER_NONE 2015-02-23 09:15:33 +01:00
twinaphex 50e731776b Call config_file_free() at end of input_overlay_load_overlay 2015-02-23 09:13:23 +01:00
twinaphex d4abbd9c83 (Input overlay) Get rid of cached config file 2015-02-23 09:07:04 +01:00