shithub: riscv

Download patch

ref: 8547defe701a6ea353b12e61008a28e0b6967134
parent: 9e95cb1ac9877f0be226ff93aa058574b4b2804b
author: cinap_lenrek <[email protected]>
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 = {