Age | Commit message (Collapse) | Author |
|
'psplash' uses only one buffer which can cause tearing artifacts. This
change uses the FBIOPAN_DISPLAY ioctl as a way to handle page flipping
and also does that after a vsync interrupt to remove any tearing issues.
Signed-off-by: Andrei Gherzan <agherzan@hanoverdisplays.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: David Steinberg <david@sonabuzz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Process consecutive commands separated by null-termations. Since
it is a FIFO, in theory, two commands can be queued from two
independent calls to psplash-write. This also makes the command
parser more robust. With this code, sequences like this get
parsed just fine:
echo -e "\nPROGRESS 10\n\0\nQUIT" > /run/psplash_fifo
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Use /run for communication FIFO which is typically preserved
between initramfs and regular root file system. Introduce a
new environment variable PSPLASH_FIFO_DIR which allows to
pass /tmp for the old behavior or another directory.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
A new fbdev file is needed and should be overrided if needed.
The number contained in fbdev will be used as X in /dev/fbX.
By overriding fbdev you can have a splash screen on another
framebuffer than /dev/fbO.
The getenv(FBDEV) line has been replaced by this option since
the environment variables are not read yet when psplash starts.
Signed-off-by: Julien Gueytat <contact@jgueytat.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Julien Gueytat <contact@jgueytat.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Define UNUSED macro for GCC's ((__unused__)) attribute and use it for
the remaining unused-parameter warnings. These unused parameters are
required due to the definition of the sighandler_t.
This fixes following unused-parameter warnings:
psplash.c: In function 'psplash_exit':
psplash.c:36:19: warning: unused parameter 'signum' [-Wunused-parameter]
psplash-console.c: In function 'vt_request':
psplash-console.c:27:17: warning: unused parameter 'sig'
[-Wunused-parameter]
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
This fixes following unused-parameter warning:
psplash.c: In function 'parse_command':
psplash.c:105:49: warning: unused parameter 'length'
[-Wunused-parameter]
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
This fixes following unused-parameter warning:
psplash-fb.c: In function 'psplash_fb_text_size':
psplash-fb.c:464:43: warning: unused parameter 'fb' [-Wunused-parameter]
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
* Allow not showing the startup message
* Make the screen-split (between image and progress bar)
configurable
* Allow for fullscreen image (overlaid by progress bar)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
|
|
Up till now, image data with a rowstride larger than the value
expected from width and bytes_per_pixel caused a trapezoid
distortion of the displayed image.
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
|
|
Fix segmentation fault when passing -a without angel value.
When psplash -a is called instead of psplash -a<angle value>
it will segmentation fault calling out of bound argv[].
git://git.yoctoproject.org/psplash
Signed-of-by: Aws Ismail<aws.ismail@windriver.com>
-----------------------------------------------------------------
|
|
This commit moves colour definitions to psplash-colors.h so that the
colour scheme can be easily modified by replacing this file rather
than having to maintain a patch.
Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
* psplash-poky-img.h:
* psplash.c
* Makefile.am:
Fix colour read order from RLE images (R & B swapped)
Add handling for alpha channel in images
Update the Poky RLE image
Change the OpenedHand logo for the Poky one
|
|
|
|
|
|
through the fifo.
|
|
* psplash.c: (main):
Revert artwork. Needs more love.
|
|
* psplash-poky-img.h:
* psplash.c: (main):
Try new artwork.
|
|
|
|
|
|
* psplash-fb.c:
* psplash.c:
More rotation tweaks
|
|
* psplash.c:
Whoops, actually set the angle config option
|
|
* psplash-fb.c:
* psplash-fb.h:
* psplash.c:
Add -angle cmd line arg, hopefully fix rotation
|
|
* psplash-fb.c:
* psplash-fb.h:
* psplash.c:
Add some as yet tested basic rotation code.
* psplash.h:
Disable DBG output by default.
|
|
* psplash.c: (main):
Add some more commenting
* psplash.doap:
Add DOAP file.
|
|
* psplash-bar-img.h:
pixel pop a little
* psplash.c: (psplash_draw_progress), (main):
Move bar up a little.
|
|
* psplash.c: (psplash_draw_progress), (main):
img positioning tweaks.
|
|
* Makefile.am:
* make-image-header.sh:
* psplash-bar-img.h:
* psplash-hand-img.h:
* psplash.c: (psplash_draw_msg), (psplash_draw_progress), (main):
Add new hopefully nicer untested images.
* psplash-image.h:
Remove
|
|
* Makefile.am:
* radeon-font.h:
Add 'compiled' font.
* psplash-fb.c:
* psplash-fb.h:
* psplash.c:
* psplash.h:
Add basic font/text rendering support
Add remote msg suuport (psplash-write 'MSG hello world')
Add cmd line switch to disable console switch
Move console switch after fifo set up.
|
|
|