16566 Commits

Author SHA1 Message Date
twinaphex
2ac62e0cd3 Restore original rpng.c 2015-02-20 22:49:49 +01:00
twinaphex
14fb2f6418 Cleanup original rpng.c 2015-02-20 21:51:32 +01:00
twinaphex
2e61afcab8 use rpng_nbio.c now - try to cover PNG_CHUNK_PLTE as well 2015-02-20 21:35:06 +01:00
twinaphex
d07cb93057 Some more cleanups 2015-02-20 21:26:57 +01:00
twinaphex
33c818cf81 (RPNG) Make imlib2 optional 2015-02-20 21:10:32 +01:00
twinaphex
1f2db14c2d (rpng_nbio.c) Cleanups 2015-02-20 21:05:07 +01:00
twinaphex
6b9bf2c100 Some more progress on rpng_nbio.c 2015-02-20 18:49:51 +01:00
twinaphex
102c815db1 (rpng) Add nbio_stdio.c to test Makefile 2015-02-20 16:36:52 +01:00
twinaphex
a3c5142040 Split up rpng_nbio.c test code to separate file 2015-02-20 16:36:00 +01:00
Twinaphex
7f10904809 Merge pull request #1430 from tobiasjakobi/fixes
exynos_gfx fixes
2015-02-20 15:12:02 +01:00
Tobias Jakobi
cf3eea13df exynos_gfx: handle drmModeSetCrtc failing
This shouldn't happen anymore after the connector ID fix, but
the checks don't hurt and protect us from future mishaps.
2015-02-20 10:54:23 +01:00
Tobias Jakobi
551123d4d6 exynos_gfx: set connector_id in exynos_init
The connector ID is only used for initial setup of the CRTC
and when deinitializing the backend, so this bug probably
wasn't noticed at all.
2015-02-20 10:44:54 +01:00
Tobias Jakobi
5574d95add exynos_gfx: fix memory leak in exynos_free
The exynos_device object was never freed, so we had a tiny
memory leak when reinitializing the gfx backend.
2015-02-20 10:43:18 +01:00
Tobias Jakobi
6327f45d4f exynos_gfx: update copyright 2015-02-20 10:39:27 +01:00
twinaphex
7d55de8278 Don't define NONBLOCKING_TEST by default 2015-02-20 03:19:39 +01:00
twinaphex
0bb5e0c7fd Cleanups 2015-02-20 03:18:06 +01:00
twinaphex
a227a99c6c Move header code outside of load_image_argb_init 2015-02-20 03:12:27 +01:00
twinaphex
d32593adc4 (nbio.h) Add header guards 2015-02-20 03:06:55 +01:00
twinaphex
42bd4eb830 (Griffin) Comment out mpng_decode.c 2015-02-20 02:49:12 +01:00
twinaphex
867e0a6a42 Comment out mpng_decode.c 2015-02-20 02:48:51 +01:00
twinaphex
deb282af4d (rpng) Add stub code for nonblocking 2015-02-20 02:34:17 +01:00
twinaphex
4d631cba30 Update 2015-02-20 02:10:05 +01:00
Twinaphex
4cde17457a Merge pull request #1426 from cxd4/master
removed fixed file I/O dependencies from `rpng_load_image_argb_init`
2015-02-20 02:01:16 +01:00
unknown
391e9bc150 moved file I/O out of rpng_load_image_argb_init 2015-02-19 19:54:20 -05:00
unknown
857d0b1009 rpng_load_image_argb_init should write file size to ssize_t, not long. 2015-02-19 19:36:17 -05:00
Twinaphex
17c0861947 Merge pull request #1425 from cxd4/master
some more error tracking in common `read_generic_file` function
2015-02-20 00:15:11 +01:00
unknown
24cbff147b additional error tracking after file reads, when closing the stream 2015-02-19 18:03:57 -05:00
unknown
a8fea21f11 additional error tracking on reading file streams if fseek fails 2015-02-19 17:57:49 -05:00
unknown
586c620609 Also treat file reading as an error if ftell reports invalid length.
`ftell` is documented to return -1L if the function failed to get the current position indicator in the stream.  The possibility is easily set aside just by checking if the function returned a negative length.
2015-02-19 17:54:13 -05:00
Twinaphex
218c71751d Merge pull request #1424 from cxd4/master
Start to simplify the RPNG interface.
2015-02-19 22:40:14 +01:00
unknown
429eb3d1d5 bool rpng_load_image_argb_init should be a static function. 2015-02-19 16:24:28 -05:00
unknown
4429819ee7 removed unused path parameter to rpng_load_image_argb
We already have a pointer to FILE of an opened file stream, so why would we need a file path string for loading one if we already had one loaded supplied to this func?
2015-02-19 16:24:03 -05:00
Alcaro
810aa8a5ed Don't take the test code so literally. 2015-02-19 19:27:33 +01:00
twinaphex
8da734c921 (png/rpng.c) Cleanup 2015-02-19 18:13:28 +01:00
twinaphex
af91764fc8 Simplify rpng_load_image_iterate 2015-02-19 17:28:17 +01:00
twinaphex
f382aceb28 Add log for when file loading fails 2015-02-19 17:11:37 +01:00
twinaphex
58af552945 rpng_load_image_argb - simplify 2015-02-19 16:35:49 +01:00
twinaphex
67d83baa33 (rpng) Refactor file_increment_ptr 2015-02-19 16:23:23 +01:00
twinaphex
90214163a4 Call file_increment_ptr only once 2015-02-19 16:21:12 +01:00
twinaphex
bbbc797c18 Simplify video_frame_scale 2015-02-19 16:11:49 +01:00
twinaphex
f16780630b Fix 0RGB1555 color conversion 2015-02-19 16:07:11 +01:00
twinaphex
fe8577b173 (rpng) Cleanups 2015-02-19 15:36:10 +01:00
twinaphex
57a04df37f Create rpng_load_image_argb_init 2015-02-19 15:33:27 +01:00
twinaphex
a4c3097cdb Create rpng_load_image_argb_process 2015-02-19 15:25:12 +01:00
twinaphex
d125fd0d0b Create rpng_image_load_iterate 2015-02-19 15:15:13 +01:00
twinaphex
fee00be453 (rpng) Refactor #2 2015-02-19 15:01:08 +01:00
twinaphex
64ebcfba2b (rpng) Refactor some code 2015-02-19 14:47:26 +01:00
twinaphex
e519e2f2bb (rpng) Cleanups 2015-02-19 06:36:13 +01:00
twinaphex
b3af250e60 Move patch code to patch.c 2015-02-19 04:30:53 +01:00
twinaphex
932fc3d353 read_generic_file - add early return if rom_buf is NULL 2015-02-19 04:21:08 +01:00