]> git.cworth.org Git - apitrace/commitdiff
Change the default graphic system to raster.
authorJames Benton <jbenton@vmware.com>
Fri, 7 Sep 2012 13:23:43 +0000 (14:23 +0100)
committerJames Benton <jbenton@vmware.com>
Fri, 7 Sep 2012 13:29:40 +0000 (14:29 +0100)
This render system out performs the native implementations on all platforms,
this is necessary as the native implementation on Mac is basically unusable
with the profile dialog due to poor performance.

gui/main.cpp

index 18e07f1ffcb87275aaa777184a22fb839c31f2fd..0ed50ed8f2b33506f931f570d9662430d59712ec 100644 (file)
@@ -22,6 +22,7 @@ static void usage(void)
 
 int main(int argc, char **argv)
 {
+    QApplication::setGraphicsSystem("raster");
     QApplication app(argc, argv);
 
     qRegisterMetaType<QList<ApiTraceFrame*> >();