Free-Slip Texture Buffering
Pre-release
Pre-release
Release 0.6.0-Preview.2
STPFreeSlipTextureBuffer
STPFreeSlipTextureBuffer is a memory manager dedicated for managing texture from free-slip neighbour chunks and merging them into a large local-indexed buffer for free-slip computing; like what STPHeightfieldGenerator does previously.
STPFreeSlipTextureBuffercan now merge buffer to different memory space (host and device) depends on caller.- Deprecate memory management in
STPHeightfieldGenerator. - Improve level of abstraction in
STPFreeSlipGenerator, which now takes a pointer toSTPFreeSlipTextureBufferinstead of a pointer to texture. - Improve documentation in
STPFreeSlipGenerator::STPFreeSlipAdaptor. - Improve behaviour for STPFreeSlipTextureBuffer when doing repetitive calls to retrieve texture buffer. See documentation for more details.
Future work
- Allocation of pinned memory in
STPFreeSlipManagerAdaptoris not pooled currently.
Development on STPSingleHistogramFilter
- We finally decice to swap the order of two separate filter stages in
STPSingleHistogramFilteras benchmark shows there's negligible performance difference as the original one. The output histogram from callingSTPSingleHistogramFilteris now in row-major order. - Correct the documentation in
STPSingleHistogramFilterso it matches the new algorithm. - Extract
STPSingleHistogramFilter::STPFilterReportas a separate struct and rename it toSTPSingleHistogram. - Add
STPSingleHistogramWrapperinSuperAlgorithm+Devicefor easySTPSingleHistogramaccess on GPU.
General fixes and improvement
- Rename
destroy()inSTPSingleHistogramFiltertodestroyReport()to avoid confusion. - Inline more in-source functions in
STPSingleHistogramFilter. - Change the argument in filter execution call in
STPSingleHistogramFiltertoSTPFreeSlipManagerAdaptorfor better abstraction. - Make
STPFreeSlipManagerAdaptorinto a template class to improve type safety. - Improve hashing algorithm for
vec2type inSTPChunkStorage. - Remove shared library export symbols for
enumand POD-struct.