David Williams
|
c2bb64d055
|
Renamed Logging.h to LoggingImpl.h
Added missing files to CMakeLists.txt
|
2015-05-08 21:18:10 +02:00 |
|
David Williams
|
09253a7bcc
|
Removed a few uses of '#ifdef SWIG', mainly from areas where they would no longer work. e.g where the code has been templatized since the #ifdef was added so we can see that the SWIG version of the code is out of date and won't build anyway.
|
2015-05-08 21:08:43 +02:00 |
|
David Williams
|
3c31643e4f
|
Exceptions are now part of the PolyVox public API (client code may need to catch them) but the utility macros we use to throw them are still private implementation details.
|
2015-05-08 16:15:11 +02:00 |
|
David Williams
|
4887fc2701
|
For work splitting error handling code into separate files for asserts vs. exceptions.
|
2015-05-08 15:59:17 +02:00 |
|
David Williams
|
a61d4556c1
|
Moved assertion code to separate file.
|
2015-05-08 15:31:17 +02:00 |
|
David Williams
|
e9bde59fbc
|
Moved more code into PlatformDefinitions.h
|
2015-05-08 15:20:29 +02:00 |
|
David Williams
|
64fa004102
|
Comments and tidying of PlatformDefinitions.h
|
2015-05-08 15:16:26 +02:00 |
|
David Williams
|
ed64106237
|
More removing of API import/export macros.
|
2015-05-08 15:09:44 +02:00 |
|
David Williams
|
d8a422955d
|
Now that PolyVox is header only we have no further use for the POLYVOX_API/LOCAL/SHARED macros which wrap API import/export.
|
2015-05-08 15:04:17 +02:00 |
|
David Williams
|
b36548ff20
|
Missed a couple of files during header renaming process.
|
2015-05-08 15:02:48 +02:00 |
|
David Williams
|
2a8e0a5f7b
|
Renamed 'Typedef.h' to 'PlatformDefinitions.h'.
|
2015-05-08 14:57:12 +02:00 |
|
David Williams
|
64c30044b0
|
Moving some macros.
|
2015-05-08 14:50:10 +02:00 |
|
David Williams
|
f16a247934
|
Changed implementation of logging macros.
We have observed some strange performance-related behavior as described here: https://stackoverflow.com/questions/29652787/adding-stringstream-cout-hurts-performance-even-when-the-code-is-never-called
This set of changes addresses this problem. The old macros would simply expand the logging code in place, whereas we now have logging functions and the macros call these. Overall I believe it is tidier.
|
2015-05-07 22:58:00 +02:00 |
|
David Williams
|
4dadbbffd1
|
Added comment about performance for the future.
|
2015-04-26 09:25:57 +02:00 |
|
David Williams
|
1d925a59a1
|
Fixed crash.
|
2015-04-16 16:47:12 +02:00 |
|
David Williams
|
9947425169
|
Fix for code which determines which old chunk to delete.
|
2015-04-15 16:58:24 +02:00 |
|
David Williams
|
cd752b4459
|
Merge branch 'feature/custom-chunk-hash-table' into develop
|
2015-04-14 23:43:41 +02:00 |
|
David Williams
|
6ff7b46e26
|
Merge branch 'develop' into feature/custom-chunk-hash-table
|
2015-04-14 23:30:29 +02:00 |
|
Matt Williams
|
32c30471a6
|
Make m_uChunkSideLengthMinusOne const
|
2015-04-14 15:01:10 +01:00 |
|
David Williams
|
12fdeb8e52
|
Removed old chunk map.
Removed flush(Region) function as it's a bit trickier to implement with the new hash table, and it's not clear that we need it.
|
2015-04-13 23:51:18 +02:00 |
|
David Williams
|
1e0e8a8c16
|
Fixed calculation of volume size in bytes.
|
2015-04-13 23:48:33 +02:00 |
|
David Williams
|
f7c1962773
|
Removed commented-out code.
|
2015-04-13 23:32:23 +02:00 |
|
David Williams
|
143c9fd08d
|
Made test 10x longer.
|
2015-04-13 21:34:59 +02:00 |
|
David Williams
|
37c35a08db
|
Added code to ensure the number of chunks doesn't go over our target limit.
|
2015-04-13 21:30:59 +02:00 |
|
David Williams
|
8757f1e53e
|
Removed unneeded assert.
|
2015-04-13 21:17:19 +02:00 |
|
David Williams
|
5dd46c4bcf
|
Merge branch 'develop' into feature/custom-chunk-hash-table
|
2015-04-13 21:07:48 +02:00 |
|
David Williams
|
64be18cd14
|
Tidied up loop for inserting chunk into array.
|
2015-04-12 20:55:49 +02:00 |
|
David Williams
|
af70096fcc
|
Tidying and adding comments.
|
2015-04-12 16:46:43 +02:00 |
|
David Williams
|
99390580dd
|
Replaced number with constant.
|
2015-04-12 10:35:12 +02:00 |
|
David Williams
|
c4cccf9043
|
Replaced double for loop with cleaner do-while loop.
|
2015-04-12 09:55:30 +02:00 |
|
David Williams
|
f35581506c
|
Minor optimization - only creating vector if we are going to use it.
|
2015-04-12 09:42:15 +02:00 |
|
David Williams
|
54903150e9
|
Merge branch 'develop' into feature/custom-chunk-hash-table
|
2015-04-12 09:19:14 +02:00 |
|
David Williams
|
c562341db0
|
Added a second PagedVolume to the tests with much higher allowed memory usage. This makes more sense when testing random access, as low permitted memory usage causes disk IO to become the bottleneck.
|
2015-04-10 16:56:19 +02:00 |
|
David Williams
|
b90f0d4e15
|
Made the FilePager a little more robust regarding filename conflicts.
|
2015-04-10 16:47:50 +02:00 |
|
David Williams
|
8bd013f28e
|
Added RawVolume version of test as well.
|
2015-04-10 16:14:29 +02:00 |
|
David Williams
|
887ecc1aaa
|
Adding test to measure voxel access times when sampling the volume randomly.
|
2015-04-10 16:09:35 +02:00 |
|
David Williams
|
a2fe1944af
|
Initial work on replacing std::unordered_map with a specialized hash table for looking up chunks based on their 3D position.
|
2015-04-09 23:44:25 +02:00 |
|
David Williams
|
27a59f34bc
|
Merge branch 'feature/morton-encoding' into develop
|
2015-04-05 17:44:27 +02:00 |
|
David Williams
|
4c24d61408
|
Added another function for backwards compatibility.
|
2015-04-05 12:03:12 +02:00 |
|
David Williams
|
c887d1444f
|
Added utility function for people who already have data in linear order, to convert it to Morton order.
|
2015-04-05 10:14:25 +02:00 |
|
David Williams
|
d521b08cf9
|
Added comment.
|
2015-04-04 09:57:31 +02:00 |
|
David Williams
|
dec06bcfe4
|
Added caching of variable.
|
2015-04-04 09:49:12 +02:00 |
|
David Williams
|
77db90ac30
|
Removed unneeded variable.
|
2015-04-04 09:42:46 +02:00 |
|
David Williams
|
0d36c416f2
|
Tidied up macros.
|
2015-04-04 09:18:51 +02:00 |
|
David Williams
|
3ca0222b19
|
Applied simplified test when going in the negative direction as well.
|
2015-04-04 00:08:20 +02:00 |
|
David Williams
|
d1bcaec2c5
|
This commit knocks about 30% off the run time of the sampler tests by using a more efficient check for whether we are near the edge of the chunk.
|
2015-04-02 23:11:19 +02:00 |
|
David Williams
|
d41a7d2747
|
Removed redundant samplers.
|
2015-04-02 21:35:50 +02:00 |
|
David Williams
|
135aa96bdf
|
Further fixes for move...() functions.
|
2015-04-01 23:34:57 +02:00 |
|
David Williams
|
056cae39b5
|
Fixed sampler move...() functions to work with Morton ordering.
|
2015-04-01 22:57:22 +02:00 |
|
David Williams
|
b518978cd6
|
Enlarged lookup tables to 256 elements.
|
2015-04-01 22:34:42 +02:00 |
|