nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
Loading...
Searching...
No Matches
texture_cpu_update_tests.h
1
#ifndef NXDK_PGRAPH_TESTS_TEXTURE_CPU_UPDATE_TESTS_H
2
#define NXDK_PGRAPH_TESTS_TEXTURE_CPU_UPDATE_TESTS_H
3
4
#include <string>
5
6
#include "test_host.h"
7
#include "test_suite.h"
8
9
class
TextureCPUUpdateTests
:
public
TestSuite
{
10
public
:
11
TextureCPUUpdateTests
(
TestHost
& host, std::string output_dir,
const
Config
& config);
12
13
void
Initialize
()
override
;
14
15
private
:
16
void
CreateGeometry();
17
18
void
TestRGBA();
19
void
TestPalettized();
20
23
void
TestMultipleSwatches();
24
25
private
:
26
struct
s_CtxDma semaphore_dma_ctx_ {};
27
struct
s_CtxDma monochrome_ctx_ {};
28
29
uint32_t* semaphore_context_object_{
nullptr
};
30
};
31
32
#endif
// NXDK_PGRAPH_TESTS_TEXTURE_CPU_UPDATE_TESTS_H
TestHost
Definition
test_host.h:33
TestSuite
Definition
test_suite.h:21
TextureCPUUpdateTests
Definition
texture_cpu_update_tests.h:9
TextureCPUUpdateTests::Initialize
void Initialize() override
Called to initialize the test suite.
Definition
texture_cpu_update_tests.cpp:32
TestSuite::Config
Runtime configuration for TestSuites.
Definition
test_suite.h:24
src
tests
texture_cpu_update_tests.h
Generated by
1.9.8