using std::cout; using std::endl; using namespace inl; using namespace inl::gxeng; using namespace inl::gxapi; using inl::gxapi_dx12::GxapiManager; using namespace std::chrono_literals; // ----------------------------------------------------------------------------- // Globals std::ofstream logFile; Logger logger; LogStream systemLogStream = logger.CreateLogStream("system"); LogStream graphicsLogStream = logger.CreateLogStream("graphics"); std::experimental::filesystem::path logFilePath; std::string errorMessage; // ----------------------------------------------------------------------------- // Function prototypes std::string SelectPipeline(IGraphicsApi* gxapi); void OnTerminate(); // ----------------------------------------------------------------------------- // Helper classes // Reports live GPU object when GraphicsApi is freed