xemu_perf_tests
A collection of tests for the Xbox nv2a graphics processor
 
Loading...
Searching...
No Matches
HighVertexCountTests Class Reference

#include <high_vertex_count_tests.h>

Inheritance diagram for HighVertexCountTests:
Collaboration diagram for HighVertexCountTests:

Public Types

enum  DrawMode { DRAW_ARRAYS , DRAW_INLINE_BUFFERS , DRAW_INLINE_ARRAYS , DRAW_INLINE_ELEMENTS }
 

Public Member Functions

 HighVertexCountTests (TestHost &host, std::string output_dir, const Config &config)
 
void Initialize () override
 Called to initialize the test suite.
 
void Deinitialize () override
 Called to tear down the test suite.
 
- Public Member Functions inherited from TestSuite
 TestSuite (TestHost &host, std::string output_dir, std::string suite_name, const Config &config)
 
const std::string & Name () const
 
virtual void SetupTest ()
 Called before running an individual test within this suite.
 
virtual void TearDownTest ()
 Called after running an individual test within this suite.
 
void DisableTests (const std::set< std::string > &tests_to_skip)
 
std::vector< std::string > TestNames () const
 
bool HasEnabledTests () const
 
void Run (const std::string &test_name)
 
void RunAll ()
 

Additional Inherited Members

- Protected Member Functions inherited from TestSuite
TestHost::ProfileResults Profile (const std::string &test_name, uint32_t num_iterations, const std::function< void(void)> &body) const
 Runs the given body function a number of times and calculates profiling information.
 
void SetDefaultTextureFormat () const
 
- Protected Attributes inherited from TestSuite
TestHosthost_
 
std::string output_dir_
 
std::string suite_name_
 
std::map< std::string, std::function< void(void)> > tests_ {}
 

Detailed Description

Tests behavior when large numbers of vertices are specified without an END call.

Constructor & Destructor Documentation

◆ HighVertexCountTests()

HighVertexCountTests::HighVertexCountTests ( TestHost host,
std::string  output_dir,
const Config config 
)

Initializes the test suite and creates test cases.

Remarks
HighVtxCount-arrays Tests NV097_DRAW_ARRAYS with a very large number of vertices.
HighVtxCount-inlinebuffers Tests immediate mode (e.g., NV097_SET_VERTEX3F) with a very large number of vertices.
HighVtxCount-inlinearrays Tests NV097_INLINE_ARRAY with a very large number of vertices.
HighVtxCount-inlineelements Tests NV097_ARRAY_ELEMENT16 / NV097_ARRAY_ELEMENT32 with a very large number of vertices.

Member Function Documentation

◆ Deinitialize()

void HighVertexCountTests::Deinitialize ( )
overridevirtual

Called to tear down the test suite.

Reimplemented from TestSuite.

◆ Initialize()

void HighVertexCountTests::Initialize ( )
overridevirtual

Called to initialize the test suite.

Reimplemented from TestSuite.


The documentation for this class was generated from the following files: