git: 9front

Download patch

ref: df1bd6e0b23953d3c07beb3807819393e2a3a42c
parent: b3f0b604d878b91fa9345a3e9470fbfb6971ba61
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Dec 28 22:46:08 EST 2016

vgaigfx: enable softscreen by default

given that the igfx driver doesnt provide any acceleration functions
and drawing is usually faster with double buffering as it eleminates
reads over the pci bus, enable softscreen by default.

--- a/sys/src/9/pc/vgaigfx.c
+++ b/sys/src/9/pc/vgaigfx.c
@@ -103,6 +103,7 @@
 		if(scr->storage != 0)
 			scr->storage -= PGROUND(64*64*4);
 	}
+	scr->softscreen = 1;
 }
 
 VGAdev vgaigfxdev = {
--