* Moved VGA planar mode blitting into the VESA kernel driver.
* In grayscale mode, the AccelerantHWInterface now sets the palette correctly. * HWInterface now has a fVGADevice set by AccelerantHWInterface which will be used to talk to the VESA driver. * Completed planar blitting for all 4 planes; we now have a perfect 16 color grayscale mode when you choose "Standard VGA mode" in the boot loader with an unsupported graphics card (such as in Qemu). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -47,6 +47,24 @@ struct vesa_info {
|
||||
enum {
|
||||
VESA_GET_PRIVATE_DATA = B_DEVICE_OP_CODES_END + 1,
|
||||
VESA_GET_DEVICE_NAME,
|
||||
|
||||
VGA_SET_INDEXED_COLORS,
|
||||
VGA_PLANAR_BLIT,
|
||||
};
|
||||
|
||||
struct vga_set_indexed_colors_args {
|
||||
uint8 first;
|
||||
uint16 count;
|
||||
uint8 *colors;
|
||||
};
|
||||
|
||||
struct vga_planar_blit_args {
|
||||
uint8 *source;
|
||||
int32 source_bytes_per_row;
|
||||
int32 left;
|
||||
int32 top;
|
||||
int32 right;
|
||||
int32 bottom;
|
||||
};
|
||||
|
||||
//----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user