LayerManagerControl: improved printing of surface properties
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Thu, 29 Nov 2012 09:57:42 +0000 (01:57 -0800)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Thu, 29 Nov 2012 09:58:10 +0000 (01:58 -0800)
surface properties did not include the process id of the application
that created it.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
LayerManagerExamples/LayerManagerControl/src/print.cpp

index 913ae0f..0d9839f 100644 (file)
@@ -215,6 +215,8 @@ void printSurfaceProperties(unsigned int surfaceid, const char* prefix)
     ilmSurfaceProperties p;
     ilm_getPropertiesOfSurface(surfaceid, &p);
 
+    cout << prefix << "- created by pid:       " << p.creatorPid << "\n";
+
     cout << prefix << "- original size:      x=" << p.origSourceWidth << ", y="
             << p.origSourceHeight << "\n";
     cout << prefix << "- destination region: x=" << p.destX << ", y=" << p.destY