From cd930796d30d30d807c55c0a3bab5edb9fd524c8 Mon Sep 17 00:00:00 2001 From: fogal1 Date: Sat, 1 Aug 2009 17:12:07 +0000 Subject: [PATCH] Add debug messages for display creation. Lets us easily figure out what kind of display gets created. This information can be inferred from other messages, but I semi-recently tracked down a bug where two modules disagreed about this bit of state. This would allow one to very easily notice when that occurs. git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7996 18c085ea-50e0-402c-830e-de6fd14e8384 --- engine/main/VisItDisplay.C | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/main/VisItDisplay.C b/engine/main/VisItDisplay.C index 572e81064af..39c0b898c85 100644 --- a/engine/main/VisItDisplay.C +++ b/engine/main/VisItDisplay.C @@ -129,6 +129,9 @@ split(std::string str, size_t node, size_t display) // Kathleen Bonnell, Tue Sep 2 15:53:44 PDT 2008 // Ifdef out XDisplay stuff for windows. // +// Tom Fogal, Sat May 30 12:32:51 MDT 2009 +// Add debug messages so we can figure out which display was created. +// // **************************************************************************** VisItDisplay * Display::Create(enum visitDisplayType vtype) @@ -136,10 +139,12 @@ Display::Create(enum visitDisplayType vtype) switch(vtype) { case D_MESA: + debug3 << "Creating Mesa (SW-based) display." << std::endl; return new MesaDisplay(); break; #ifndef WIN32 case D_X: + debug3 << "Creating X (HW-based) display." << std::endl; return new XDisplay(); break; #endif -- GitLab