Texture Data Structure Generation
Pre-release
Pre-release
Release 0.8.0-Preview.2
Texture utilities
- Update the hashing algorithm for key pair using the newly introduced
STPHashCombine. - Split texture data structures into a separate file
STPTextureInformation. - Refactor
STPTextureSplatBuilderwithSTPTextureInformation. - Move
STPTextureSplatBuilderintoSTPTextureDatabase. - Simplify texture group logic in
STPTextureDatabase. Now texture group only stores information about the texture format, texture data is mapped to texture ID type mapping table. - Texture ID is now assigned by the system rather than the user. Also rename various functions to make sure all operations make sense.
STPTextureFactorycan now convert texture database into arrays that can be used by OpenGL.- Create a
STPDatabaseViewwhich allows querying large result sets from database.
Database system
- Setup SQLite3 database. Add database initialiser in
STPEngineInitialiser. Add helper headerSTPSQLite. - Overhaul
STPTextureDatabaseandSTPTextureSplatBuilderwith in-memory private SQL database. - Add a new exception type
STPDatabaseError. - Allow
STPDeviceErrorHandlerto handle database error.
General fixes and improvement
- Simplify
STPHashCombine, it now contains only the variadic version ofcombine(). - Latest stable version of test framework has been updated to catchorg/Catch2@48a8898
- Use namespace instead of class for which only contain static function and object creation is not intended.
Improvement to STPSingleHistogramFilter
- Refine the algorithm for removing empty bin. Instead of unnecessarily looping through the whole dictionary, only dictionary entries affected due to removal of bin will be visited and updated. Approximately 20% speed up compared to the old algorithm.