nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
null_surface_tests.h
1#ifndef NXDK_PGRAPH_TESTS_NULL_SURFACE_TESTS_H
2#define NXDK_PGRAPH_TESTS_NULL_SURFACE_TESTS_H
3
4#include <memory>
5#include <string>
6
7#include "test_host.h"
8#include "test_suite.h"
9
11 public:
12 NullSurfaceTests(TestHost& host, std::string output_dir, const Config& config);
13 void Initialize() override;
14
15 private:
16 void TestNullColor();
17 void TestNullZeta();
18
19 void TestXemuBug893();
20
21 // Makes the color and zeta surfaces use fully addressable VRAM.
22 void SetSurfaceDMAs() const;
23 // Restores color and zeta surface DMA settings.
24 void RestoreSurfaceDMAs() const;
25
26 void DrawTestQuad(bool swizzle) const;
27};
28
29#endif // NXDK_PGRAPH_TESTS_NULL_SURFACE_TESTS_H
Definition null_surface_tests.h:10
void Initialize() override
Called to initialize the test suite.
Definition null_surface_tests.cpp:26
Definition test_host.h:47
Definition test_suite.h:20
Runtime configuration for TestSuites.
Definition test_suite.h:23