twinaphex
7c80d7e1d0
Move inflate_buf_size and palette to rpng_t
2015-02-21 02:04:30 +01:00
twinaphex
193fef41cc
Move png_ihdr to rpng_t struct
2015-02-21 01:59:59 +01:00
twinaphex
538b3f3231
rpng.c - Update
2015-02-21 01:56:56 +01:00
twinaphex
7914c8a01c
Move idat_buffer to rpng.h header and to rpng_t struct
2015-02-21 01:54:57 +01:00
twinaphex
99d869abca
(RPNG) Move more variables to rpng_t struct
2015-02-21 01:49:47 +01:00
twinaphex
a46a819e2d
Get rid of unused 'increment_size' in rpng_nbio.c
2015-02-21 01:41:55 +01:00
twinaphex
e1ff181b3f
(RPNG) Start creating struct rpng_t
2015-02-21 01:40:21 +01:00
twinaphex
5cafadd167
rpng_test.c - Add nonblocking tests
2015-02-21 01:35:04 +01:00
twinaphex
7b15d8e701
Refactor rpng_test.c
2015-02-21 00:05:05 +01:00
twinaphex
3c0cd5a0da
Restore rpng_test.c
2015-02-21 00:03:32 +01:00
twinaphex
b51e6d4acc
Differentiate - rename rpng_parse_ihdr for rpng.c as rpng_parse_ihdr_fio
2015-02-20 23:47:28 +01:00
twinaphex
cd7d967701
(RPNG) Move around code to make it suitable for Griffin
2015-02-20 23:46:13 +01:00
twinaphex
ff939e9b03
Update Makefile.common/Griffin
2015-02-20 23:38:48 +01:00
twinaphex
e55827a8a6
Rewrite rpng_test.c
2015-02-20 23:36:53 +01:00
twinaphex
614dc9039a
Split up rpng_nbio.c code into separate file and
...
make sure we have no namespace conflicts
2015-02-20 23:17:04 +01:00
twinaphex
9dcbd97a5b
Split up rpng encode code into separate file
2015-02-20 22:59:24 +01:00
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