Factor out the splash image display logic too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32395 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,13 +15,15 @@ extern "C" {
|
||||
/* blit helpers */
|
||||
|
||||
/* platform code is responsible for setting the palette correctly */
|
||||
void video_blit_image(addr_t frameBuffer, uint32 bytesPerRow,
|
||||
const uint8 *data, uint16 width, uint16 height, uint16 imageWidth,
|
||||
void video_blit_image(addr_t frameBuffer, const uint8 *data,
|
||||
uint16 width, uint16 height, uint16 imageWidth,
|
||||
uint16 left, uint16 top);
|
||||
|
||||
/* platform code must implement 4bit on its own */
|
||||
void platform_blit4(addr_t frameBuffer, uint32 bytesPerRow, const uint8 *data,
|
||||
uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top);
|
||||
void platform_blit4(addr_t frameBuffer, const uint8 *data,
|
||||
uint16 width, uint16 height, uint16 imageWidth,
|
||||
uint16 left, uint16 top);
|
||||
void platform_set_palette(const uint8 *palette);
|
||||
|
||||
|
||||
/* Run Length Encoding splash decompression */
|
||||
@@ -29,6 +31,9 @@ void platform_blit4(addr_t frameBuffer, uint32 bytesPerRow, const uint8 *data,
|
||||
void uncompress_24bit_RLE(const uint8 compressed[], uint8 *uncompressed);
|
||||
void uncompress_8bit_RLE(const uint8 compressed[], uint8 *uncompressed);
|
||||
|
||||
/* default splash display */
|
||||
status_t video_display_splash(addr_t frameBuffer);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user