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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user