summaryrefslogtreecommitdiff
path: root/sys/man/3
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-18 10:16:00 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-18 10:16:00 +0200
commitb9ca8e83784b94e709e7d412eb4f87fa0a1885a8 (patch)
treee941217032e777d7ec33805930924d7fdd265aec /sys/man/3
parent5654f15e56087986812c557412d558482383fc8b (diff)
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.
Diffstat (limited to 'sys/man/3')
-rw-r--r--sys/man/3/vga16
1 files changed, 16 insertions, 0 deletions
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