Commit Graph

75 Commits

Author SHA1 Message Date
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