Commit Graph

132 Commits

Author SHA1 Message Date
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
twinaphex 29b250885c Refactor #2 2015-02-23 07:34:14 +01:00
twinaphex 784be49f2f (Overlay) Split up code some more 2015-02-23 07:30:57 +01:00
twinaphex 35bc3a2b3e Split up code in input_overlay_load_overlays_iterate 2015-02-23 07:26:34 +01:00
twinaphex a4a451f8d7 Refactor input_overlay_load_overlays_iterate 2015-02-23 06:52:20 +01:00
twinaphex 4a7ce3e460 Simplify input_overlay.c 2015-02-23 06:37:27 +01:00
twinaphex 0595189fab Create OVERLAY_STATUS_DEFERRED_LOADING_IMAGE 2015-02-21 22:00:12 +01:00
twinaphex d349b2a37a Split up input_overlay_load_overlay into two functions 2015-02-21 21:20:21 +01:00
Twinaphex 8bd698d132 (input_overlay.c) Remove unused variable 2015-02-21 10:02:49 +01:00
twinaphex a36e2d2a30 Cut down on continuous opening/closing of config file - keep it
cached
2015-02-21 09:41:29 +01:00
twinaphex 7268eab3e8 Create two more iteration phases for overlays 2015-02-21 09:26:52 +01:00
twinaphex 61bbb2a3fb Start making overlay loading 'deferred' 2015-02-21 07:29:13 +01:00
twinaphex 6b77b263f7 Split up input_overlay_new 2015-02-21 06:47:04 +01:00
twinaphex 04da700a91 (input_overlay.c) Cleanups 2015-02-15 07:01:32 +01:00
twinaphex 8ace562670 Prevent segfault in overlay function 2015-02-15 06:57:02 +01:00
twinaphex d327863d0f Only carry one input overlay state 2015-01-29 22:54:42 +01:00
twinaphex 28f6922520 Cleanups 2015-01-29 20:51:07 +01:00
twinaphex d513c01775 Get rid of debug comment 2015-01-29 20:36:06 +01:00
twinaphex fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +01:00
Twinaphex a5b306406c More documentation 2015-01-18 09:25:48 +01:00
twinaphex a2b05d31b1 (input) Cleanups 2015-01-14 23:15:24 +01:00
twinaphex 73a1f5afbb Rename input/overlay.c to input/input_overlay.c 2015-01-12 21:59:32 +01:00