Adding test to measure voxel access times when sampling the volume randomly.

This commit is contained in:
David Williams
2015-04-10 16:09:35 +02:00
parent 27a59f34bc
commit 887ecc1aaa
2 changed files with 42 additions and 0 deletions

View File

@ -57,6 +57,8 @@ private slots:
void testPagedVolumeDirectAccessWithExternalBackwards();
void testPagedVolumeSamplersWithExternalBackwards();
void testPagedVolumeDirectRandomAccess();
void testPagedVolumeChunkLocalAccess();
void testPagedVolumeChunkRandomAccess();
@ -72,6 +74,7 @@ private:
PolyVox::RawVolume<int32_t>* m_pRawVolume;
PolyVox::PagedVolume<int32_t>* m_pPagedVolume;
PolyVox::PagedVolume<int32_t>* m_pPagedVolumeHighMem;
PolyVox::PagedVolume<uint32_t>::Chunk* m_pPagedVolumeChunk;
};