mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added qt screenshot test
Former-commit-id: c28e098ded780a6597952c83007fea1fe8da36fa
This commit is contained in:
@@ -67,7 +67,7 @@ void foo_1(int pixelDecimation)
|
||||
// Cleanup allocated resources of the X11 grab
|
||||
XDestroyImage(xImage);
|
||||
|
||||
std::cout << "Time required: " << timer.elapsed() << " us" << std::endl;
|
||||
std::cout << "Time required: " << timer.elapsed() << " ms" << std::endl;
|
||||
|
||||
XCloseDisplay(x11Display);
|
||||
}
|
||||
@@ -125,7 +125,7 @@ void foo_2(int pixelDecimation)
|
||||
XDestroyImage(xImage);
|
||||
}
|
||||
}
|
||||
std::cout << "Time required: " << timer.elapsed() << " us" << std::endl;
|
||||
std::cout << "Time required: " << timer.elapsed() << " ms" << std::endl;
|
||||
|
||||
|
||||
XCloseDisplay(x11Display);
|
||||
|
Reference in New Issue
Block a user