1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

compute fps changed (now only interop counts). fixed d3d10 and d3d11 print info method (there were issues with texture mapping)

This commit is contained in:
Vladimir Dudnik
2015-07-13 23:40:45 +03:00
parent 38723b0339
commit dee05f982b
6 changed files with 121 additions and 102 deletions
+5 -1
View File
@@ -152,6 +152,8 @@ public:
return -1;
}
m_timer.start();
switch (m_mode)
{
case MODE_CPU:
@@ -203,7 +205,9 @@ public:
} // switch
print_info(pSurface, m_mode, getFps(), m_oclDevName);
m_timer.stop();
print_info(pSurface, m_mode, m_timer.fps(), m_oclDevName);
// traditional DX render pipeline:
// BitBlt surface to backBuffer and flip backBuffer to frontBuffer