History log of /haiku/headers/private/kernel/boot/platform/generic/video.h
Revision Date Author Comments
# e8ab10ab 22-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

Fix return type of video_text_console_init.


# 0d66d8d4 22-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

boot_loader: Add a video_text_console for potential use by bootloaders.

This uses the frame buffer console that KDL uses. It needs some work,
though, as the frame_buffer_console colors system is not quite compatible.


# 04cbc258 02-Aug-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Use fast clearing of visible screen for splash

memset uses rep stosb on x86 during boot, with memory
not set to write-combining, which makes it slow.

Instead we do aligned writes of 2 x four bytes at once.
Only clear the minimum of size and width * height * 4
UEFI framebuffer size can be huge, upto 512MB here,
and rep stosb seems to be around 25-30MB/s

This is written as generic as possible to work on
old compilers and different platforms, without
expecting boot memset to be optimized.

This makes it almost unnoticable compared to not
clearing.


# 15db6949 01-Aug-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Don't clear video mem on UEFI, efi video mode refactor

Writes to videomem is slow without memory remapping
Can't do the mapping without leaving UEFI, so skipping
the clear. Afaict it should always be cleared by UEFI

This saves ~10 seconds of booting on my machine
(1920*1080*4 bytes)

EFI video mode (should have been it's own commit)
* Only do strcmp if there are enough params
* break when found


# 7db9fbfe 14-Aug-2009 François Revol <revol@free.fr>

Factor out the splash image display logic too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0573d397 14-Aug-2009 François Revol <revol@free.fr>

Factor out the RLE and blitting functions from bios_ia32 to platform/generic/ so it can be reused by other platforms.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32383 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7db9fbfe80a760d4806aa7eb9d3ebd53c4760823 14-Aug-2009 François Revol <revol@free.fr>

Factor out the splash image display logic too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0573d397e1c87762473770183413613e0039797e 14-Aug-2009 François Revol <revol@free.fr>

Factor out the RLE and blitting functions from bios_ia32 to platform/generic/ so it can be reused by other platforms.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32383 a95241bf-73f2-0310-859d-f6bbb57e9c96