nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
stipple_tests.h
1#ifndef NXDK_PGRAPH_TESTS_STIPPLE_TESTS_H
2#define NXDK_PGRAPH_TESTS_STIPPLE_TESTS_H
3
4#include <memory>
5#include <vector>
6
7#include "test_host.h"
8#include "test_suite.h"
9
10class TestHost;
11class VertexBuffer;
12
13// Tests behavior of 0x147C - 3D_POLYGON_STIPPLE_ENABLE
14class StippleTests : public TestSuite {
15 public:
16 StippleTests(TestHost& host, std::string output_dir, const Config& config);
17
18 void Initialize() override;
19 void TearDownTest() override;
20
21 private:
22 void Test(const std::string& name, bool stipple_enable, const std::vector<DWORD>& stipple_pattern);
23};
24
25#endif // NXDK_PGRAPH_TESTS_STIPPLE_TESTS_H
Definition stipple_tests.h:14
void TearDownTest() override
Called after running an individual test within this suite.
Definition stipple_tests.cpp:71
void Initialize() override
Called to initialize the test suite.
Definition stipple_tests.cpp:59
Definition test_host.h:47
Definition test_suite.h:20
Definition vertex_buffer.h:204
Runtime configuration for TestSuites.
Definition test_suite.h:23