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
10
12 public:
13 TextureFormatTests(TestHost &host, std::string output_dir, const Config &config);
14
15 void Initialize() override;
16
17 private:
18 void CreateGeometry();
19
20 void Test(const TextureFormatInfo &texture_format);
21 // void TestMipMap(const TextureFormatInfo &texture_format);
22 void TestPalettized(TestHost::PaletteSize size);
23
24 static std::string MakeTestName(const TextureFormatInfo &texture_format, bool mipmap = false);
25 static std::string MakePalettizedTestName(TestHost::PaletteSize size);
26};
27
28#endif // NXDK_PGRAPH_TESTS_TEXTURE_FORMAT_TESTS_H
Definition test_host.h:47
PaletteSize
Palette size for palettized surfaces.
Definition test_host.h:194
Definition test_suite.h:20
Definition texture_format_tests.h:11
void Initialize() override
Called to initialize the test suite.
Definition texture_format_tests.cpp:65
Runtime configuration for TestSuites.
Definition test_suite.h:23
Definition texture_format.h:8