aboutsummaryrefslogtreecommitdiffstatsci
path: root/testDrm/src
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-06-14 02:12:30 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2017-06-14 02:12:30 +0200
commit26cb42fbd4e0d96237bd3bc0fcf7ebd83b6e0dcc (patch)
tree3b3faeea60a142bead56b3db3735838dec0a3c2a /testDrm/src
parent8d385b053423c16e18d02467bdd54be17c3b42aa (diff)
debugTestDRM
Diffstat (limited to 'testDrm/src')
-rw-r--r--testDrm/src/Application.cs12
-rw-r--r--testDrm/src/Linux/DRIControler.cs2
2 files changed, 7 insertions, 7 deletions
diff --git a/testDrm/src/Application.cs b/testDrm/src/Application.cs
index 7efc0906..30a9573f 100644
--- a/testDrm/src/Application.cs
+++ b/testDrm/src/Application.cs
@@ -101,7 +101,7 @@ namespace Crow
Console.WriteLine (ex.ToString ());
}
}
-
+
gpu = new DRIControler();
initCrow ();
@@ -591,11 +591,11 @@ namespace Crow
gpu = null;
using (VTControler master = new VTControler ()) {
- // try {
- // master.KDMode = VT.KDMode.TEXT;
- // } catch (Exception ex) {
- // Console.WriteLine (ex.ToString ());
- // }
+ try {
+ master.KDMode = KDMode.TEXT;
+ } catch (Exception ex) {
+ Console.WriteLine (ex.ToString ());
+ }
master.SwitchTo (previousVT);
}
diff --git a/testDrm/src/Linux/DRIControler.cs b/testDrm/src/Linux/DRIControler.cs
index cb2794f2..3d5f3009 100644
--- a/testDrm/src/Linux/DRIControler.cs
+++ b/testDrm/src/Linux/DRIControler.cs
@@ -231,7 +231,7 @@ namespace Linux.DRI {
//setScanOutRegion();
//Thread.Sleep (100);
- initPageFlipUpdate ();
+ //initPageFlipUpdate ();
return true;
}