* commented out span acceleration function, since it doesn't seem to work
* added mode for 1440x900, the numbers are just guessed, but work fine with my monitor (after some fiddling), would be best to have some common VGA communication code for all drivers to use and auto-detect the preferred mode of the monitor * messed around with the overlay brightness and contrast values to give good looking video git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4e0139d026
commit
ca1a22a7a8
@ -96,7 +96,7 @@ get_accelerant_hook(uint32 feature, void *data)
|
||||
case B_INVERT_RECTANGLE:
|
||||
return (void*)intel_invert_rectangle;
|
||||
case B_FILL_SPAN:
|
||||
return (void*)intel_fill_span;
|
||||
return NULL;//(void*)intel_fill_span;
|
||||
|
||||
// overlay
|
||||
case B_OVERLAY_COUNT:
|
||||
|
@ -53,6 +53,9 @@ static const display_mode kBaseModeList[] = {
|
||||
{{108000, 1280, 1328, 1440, 1688, 1024, 1025, 1028, 1066, POSITIVE_SYNC}, B_CMAP8, 1280, 1024, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@60Hz_(1280X1024X8.Z1) */
|
||||
{{135000, 1280, 1296, 1440, 1688, 1024, 1025, 1028, 1066, POSITIVE_SYNC}, B_CMAP8, 1280, 1024, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@75Hz_(1280X1024X8.Z1) */
|
||||
{{157500, 1280, 1344, 1504, 1728, 1024, 1025, 1028, 1072, POSITIVE_SYNC}, B_CMAP8, 1280, 1024, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@85Hz_(1280X1024X8.Z1) */
|
||||
|
||||
{{110808, 1440, 1488, 1504, 1944, 900, 901, 904, 950, POSITIVE_SYNC}, B_CMAP8, 1440, 900, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@60Hz_(1280X1024X8.Z1) */
|
||||
|
||||
{{162000, 1600, 1664, 1856, 2160, 1200, 1201, 1204, 1250, POSITIVE_SYNC}, B_CMAP8, 1600, 1200, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@60Hz_(1600X1200X8.Z1) */
|
||||
{{175500, 1600, 1664, 1856, 2160, 1200, 1201, 1204, 1250, POSITIVE_SYNC}, B_CMAP8, 1600, 1200, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@65Hz_(1600X1200X8.Z1) */
|
||||
{{189000, 1600, 1664, 1856, 2160, 1200, 1201, 1204, 1250, POSITIVE_SYNC}, B_CMAP8, 1600, 1200, 0, 0, MODE_FLAGS}, /* Vesa_Monitor_@70Hz_(1600X1200X8.Z1) */
|
||||
|
@ -86,8 +86,8 @@ init_overlay_registers(overlay_registers *registers)
|
||||
{
|
||||
memset(registers, 0, B_PAGE_SIZE);
|
||||
|
||||
registers->contrast_correction = 0x40;
|
||||
registers->saturation_cos_correction = 0x40;
|
||||
registers->contrast_correction = 0x48;
|
||||
registers->saturation_cos_correction = 0x9a;
|
||||
// this by-passes contrast and saturation correction
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user