nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
texture_format_tests.h
1#ifndef NXDK_PGRAPH_TESTS_TEXTURE_FORMAT_TESTS_H
2#define NXDK_PGRAPH_TESTS_TEXTURE_FORMAT_TESTS_H
3
4#include <string>
5
6#include "test_host.h"
7#include "test_suite.h"
8
9namespace PBKitPlusPlus {
10struct TextureFormatInfo;
11}
12using namespace PBKitPlusPlus;
13
15 public:
16 TextureFormatTests(TestHost &host, std::string output_dir, const Config &config);
17
18 void Initialize() override;
19
20 private:
21 void CreateGeometry();
22
23 void Test(const TextureFormatInfo &texture_format);
24 // void TestMipMap(const TextureFormatInfo &texture_format);
25 void TestPalettized(TestHost::PaletteSize size);
26
27 static std::string MakeTestName(const TextureFormatInfo &texture_format, bool mipmap = false);
28 static std::string MakePalettizedTestName(TestHost::PaletteSize size);
29};
30
31#endif // NXDK_PGRAPH_TESTS_TEXTURE_FORMAT_TESTS_H
Definition test_host.h:33
Definition test_suite.h:20
Definition texture_format_tests.h:14
void Initialize() override
Called to initialize the test suite.
Definition texture_format_tests.cpp:64
Runtime configuration for TestSuites.
Definition test_suite.h:23