#pragma once #include class QPaintDevice; using RenderFunction = std::function; using TestFunction = std::function; extern void RunTestLoop(char const * testName, RenderFunction && fn, bool autoExit = true); extern void RunTestInOpenGLOffscreenEnvironment(char const * testName, bool apiOpenGLES3, TestFunction const & fn);