#include <test_host.h>
Public Member Functions | |
TestHost (std::shared_ptr< FTPLogger > ftp_logger, uint32_t framebuffer_width, uint32_t framebuffer_height, uint32_t max_texture_width, uint32_t max_texture_height, uint32_t max_texture_depth=4) | |
void | FinishDraw (bool allow_saving, const std::string &output_directory, const std::string &suite_name, const std::string &name, bool save_zbuffer=false) |
Marks drawing as completed, potentially causing artifacts (framebuffer, z/stencil-buffer) to be saved to disk. | |
bool | GetSaveResults () const |
Returns the current override flag to allow/prevent artifact saving. | |
void | SetSaveResults (bool enable=true) |
Sets the override flag to prevent artifact saving during FinishDraw. | |
std::string | SaveZBuffer (const std::string &output_directory, const std::string &name) const |
Saves the Z/Stencil buffer to the filesystem/. | |
Provides utility methods for use by TestSuite subclasses.