Commit Graph

61 Commits

Author SHA1 Message Date
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
twinaphex
f2912eb4c3 Cleanup 2016-05-13 09:22:29 +02:00
twinaphex
5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00
twinaphex
13f49e1d9a Split up image transfer code to separate file 2016-05-13 04:38:21 +02:00
twinaphex
6daf6e2270 Cleanups 2016-05-13 04:33:11 +02:00
twinaphex
d040263a83 image_transfer_new/image_transfer_free 2016-05-13 04:28:16 +02:00
twinaphex
be506c6d64 (task_image.c) Cleanups 2016-05-12 13:13:14 +02:00
twinaphex
e3802c499f Add RJPEG header include 2016-05-11 21:38:33 +02:00
twinaphex
28dd2c2545 Add HAVE_RJPEG ifdefs 2016-05-11 21:27:17 +02:00
twinaphex
4100bf95b4 Able to compile without RPNG support 2016-05-11 21:22:45 +02:00
twinaphex
5cc86384b8 (task_image.c) Cleanups 2016-05-11 20:38:09 +02:00
twinaphex
5ad45ea17f task_image.c - Refactors to prepare it for JPEG support 2016-05-11 04:10:42 +02:00
twinaphex
e6969f7ced Cleanups 2016-05-11 04:03:21 +02:00