nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
smoothing_tests.h
1#pragma once
2
3#include <memory>
4#include <string>
5#include <vector>
6
7#include "test_host.h"
8#include "test_suite.h"
9#include "vertex_buffer.h"
10
11class VertexBuffer;
12
13// Tests behavior when lighting is enabled and color components are requested from various sources.
14class SmoothingTests : public TestSuite {
15 public:
16 enum DrawMode {
17 DRAW_ARRAYS,
18 DRAW_INLINE_BUFFERS,
19 DRAW_INLINE_ARRAYS,
20 DRAW_INLINE_ELEMENTS,
21 };
22
23 public:
24 SmoothingTests(TestHost& host, std::string output_dir, const Config& config);
25 void Initialize() override;
26
27 private:
28 void Test(const std::string& name, uint32_t smooth_control);
29};
Definition smoothing_tests.h:14
void Initialize() override
Called to initialize the test suite.
Definition smoothing_tests.cpp:31
Definition test_host.h:47
Definition test_suite.h:20
Definition vertex_buffer.h:204
Runtime configuration for TestSuites.
Definition test_suite.h:23