From b9ca8e83784b94e709e7d412eb4f87fa0a1885a8 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 18 Jul 2012 10:16:00 +0200 Subject: vga: softscreen allow the shadow framebuffer (softscreen) to be used with any vga driver, not just vesa. this removes the ugly scr->paddr = 0 hack employed by vesa driver to force softscreen and adds a softscreen vgactl message that can switch the feature on and off at runtime. softscreen can greatly improve graphics performance when bus reads are slow even tho it disables hardware acceleration. --- sys/man/3/vga | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sys/man/3') diff --git a/sys/man/3/vga b/sys/man/3/vga index 3910f45ab..d17858008 100644 --- a/sys/man/3/vga +++ b/sys/man/3/vga @@ -170,6 +170,22 @@ used by the graphics engine. The default setting is .BR on . .TP +.BI softscreen " mode" +Depending on whether +.I mode +is +.B on +or +.BR off , +enable or disable shadow framebuffer to reduce +slow bus reads. Enabling +.BI softscreen +disables hardware acceleration. The default setting is +.BR off +except for the +.BR vesa +driver. +.TP .BI hwblank " mode" Depending on whether .I mode -- cgit v1.2.3