CC directfb-csource.o
.../DirectFB/tools/directfb-csource.c: In function ‘load_image’:
.../DirectFB/tools/directfb-csource.c:458:11: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘png_uint_32’ [-Wformat]
.../DirectFB/tools/directfb-csource.c:504:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘png_uint_32’ [-Wformat]
.../DirectFB/tools/directfb-csource.c:413:28: warning: ‘info_palette’ may be used uninitialized in this function [-Wuninitialized]
CXX mkdgifft.o
.../DirectFB/tools/mkdgifft.cpp: In function ‘DFBResult load_image(const char*, DFBSurfaceDescription*)’:
.../DirectFB/tools/mkdgifft.cpp:683:77: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘png_uint_32 {aka unsigned int}’ [-Wformat]
.../DirectFB/tools/mkdgifft.cpp:711:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘png_uint_32 {aka unsigned int}’ [-Wformat]
CC dfbdump.o
.../DirectFB/tools/dfbdump.c: In function ‘alloc_callback’:
.../DirectFB/tools/dfbdump.c:270:28: warning: variable ‘index’ set but not used [-Wunused-but-set-variable]
idirectfbgl: add IDirectFBGL::TextureSurface() to the interface definition
input: implement quitpipe also for the hotplug thread
jpeg provider: improve probe to recognize more valid jpeg formats
png provider: more debugging, support libpng 1.5
libdirect: never return an uninitialized value in direct_recursive_mutex_init()
surface pool: improve debugging
idirectfbsurface: in IDirectfFBSurface_Flip() pass return value of CoreSurface_Flip()
tools: make libpng 1.5 compatible
various files: use __VA_ARGS__ for macros
The new surface core is stable enough, still not
completely implemented and tested, but I can run my
working environment.
See TODO for next action items.
only is effective if the image doesn't require an alpha channel.
That's useful e.g. with RGB16 for opaque and ARGB for blended images,
when the primary format will be RGB16.
So far directfb-csource either used ARGB/RGB32 automatically,
or it always used RGB16 or whatever you specified via --format.
Implemented all mandatory software driver snippets for these formats
and any conversion or image loading routines.
Only the optimized A8 font rendering routine (optional) is
unimplemented, i.e. Bop_a8_set_alphapixel_Aop_argb2554/4444.
-W -Wno-sign-compare -Wno-unused-parameter -Wundef -Wcast-qual
-Wcast-align -Waggregate-return -Wmissing-declarations -Winline
Fixed tons of warnings, most of them were related to qualifiers,
some were aggregate returns, some other...