Commit Graph

73 Commits

Author SHA1 Message Date
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
6078deb510 (PS3) Fix warnings 2017-01-05 07:48:11 +01:00
twinaphex
e75633064a Add 'Y button' callback function for input binds 2017-01-05 04:52:04 +01:00
twinaphex
5d6bdbc2cd (task_image.c) Cleanup 2016-12-30 05:36:06 +01:00
twinaphex
876a68717e We don't need enum_idx for task_push_image_load 2016-12-30 05:33:04 +01:00
twinaphex
583511c045 nbio handle should be initialized on the thread, not the
main thread
2016-12-30 04:58:58 +01:00
twinaphex
9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex
05a899a411 Add nbio_status_flags 2016-12-29 23:14:48 +01:00
twinaphex
6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex
bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Brad Parker
41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex
28dedee477 Attempt to prevent crashes in task_image 2016-12-28 00:40:46 +01:00
twinaphex
ea39d3914e Prevent some heap-use-after-free issues 2016-12-27 23:48:10 +01:00
twinaphex
e799defcb8 Cleanup 2016-09-23 02:50:29 +02:00
twinaphex
9db91a92c3 Get rid of unused typedef 2016-09-23 02:49:25 +02:00
twinaphex
0c86536bdc task_image.c - get rid of ifdefs 2016-09-20 04:05:16 +02:00
twinaphex
51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex
3a10dff94f task_image.c - go through file_path_str 2016-07-23 11:28:24 +02:00
twinaphex
36c235556a Fix some coverity warnings 2016-06-27 20:54:05 +02:00
twinaphex
07c218ad51 Remove two hashes 2016-06-20 16:18:04 +02:00
twinaphex
d2c9c280fe No longer use CB_ hashes 2016-06-20 16:14:59 +02:00
twinaphex
7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex
a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
Sebastien Ronsse
093b009422 task image: Fix memory leak occurring for images loading non-progressively 2016-05-26 14:32:25 +10:00
Twinaphex
1fe1b2318a (task_image.c) Cleanup handle which could leak 2016-05-24 20:04:49 +02:00
Torsten Paul
30e9cc1f10 Ensure memory is not used after free(). 2016-05-23 22:41:24 +02:00
Torsten Paul
845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex
974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex
faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex
fec5aca60b Revert "(task_image.c) Nits"
This reverts commit 94a9e7b923.
2016-05-20 21:03:42 +02:00
twinaphex
94a9e7b923 (task_image.c) Nits 2016-05-20 20:04:07 +02:00
twinaphex
fe516b0d01 Change type of status 2016-05-20 19:32:09 +02:00
Twinaphex
67e1e5a9d0 (task_image.c) Prevent null pointer dereference 2016-05-19 02:09:56 +02:00
twinaphex
0c2958e384 (task_image.c) Style nit 2016-05-19 00:16:30 +02:00
twinaphex
bebcc1c274 Move macros to task_image.c 2016-05-19 00:07:49 +02:00
twinaphex
2116c0cc4e Move typedef to task_image.c 2016-05-19 00:06:52 +02:00
twinaphex
ae478b71b7 (rarch_task_push_image) Call rarch_task_image_load_free 2016-05-18 23:57:35 +02:00
twinaphex
e59cd92108 rarch_task_image_load_free_internal - Run image_texture_free 2016-05-18 23:38:51 +02:00
twinaphex
ad78fddf4e Move image allocation to task_image.c 2016-05-18 23:28:03 +02:00
Twinaphex
3cf591ec09 (tasks/task_image.c) refactor cb_nbio_image_menu_thumbnail 2016-05-18 17:27:05 +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
9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex
492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex
cd0b925fa1 Try to see if this gets us past the crash 2016-05-14 06:00:53 +02:00
twinaphex
f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex
42adb48d9c (task_image.c )Cleanups 2016-05-13 15:18:40 +02:00
twinaphex
acbc9116e3 Turn nbio_image_handle_t member image into pointer 2016-05-13 15:00:44 +02:00
twinaphex
fad7f8c1df Cleanups 2016-05-13 10:28:44 +02:00
twinaphex
025c51e4c9 (task_image.c) Rename functions 2016-05-13 10:13:36 +02:00
twinaphex
a283923393 Get rid of image->frame_count 2016-05-13 10:10:23 +02:00