Add a jobswarm project and files/folder.
Set it up within the Pi class environment.
Add the GeoPatchID files.
Integrate GeoPatchID with GeoPatch.
Essentially begin mini-migration over to seeNoEvil_00 branches development.
Work-in-Progress.
Adding the jobswarm job itself whilst figuring out to get it access to the data it needs from the terrain and geosphere instances without pointers etc.
WIP - getting there, think I've got the initial job setup correct, then the PatchJob handling logic will probably work. Receiving the completed jobs? Not so much.
Enable many multi-core in JobSwarm instead of just 1, silly oversight.
Finally actually get a hacked version working using N-cores (6 I think).
Crash due to patches being deleted when their children are waiting for data to be generated.
Extended the canMerge test. Bit crap but just testing.
Using bit flags set by the children to say if they're safe to merge or not. Not quite right yet.
Pi.cpp - try and wait until all jobs complete before shutting down.
GeoSphere, remove all of the threading stuff.
So many other little changes.
Split the GeoSphere stuff into GeoPatch and GeoPatchContext files.
Lots of tweaks and changes but still massive problems with Release mode :(
Disable LTCG for VS2012
Re-enable the full depth of the quad tree.
Optional wireframe definition.
Remove pragma optimize flags.
Removed use to deque for SplitRequestData, just an array now.
Move some stuff around.
Still have the memory consumption bug.
This fixes the memory consumption bug by making sure that we have a valid position for the camera before allowing it to generate any terrain.
Also fixed a couple of wonky line endings in the GeoPatch.h
A lot of changes, all interlinked.
Made use of ScopedPtr<> and ScopedArray<> for a lot more pointer types to try and track down some apparent memory leaks caused by cancelling jobs.
Added cancelling of jobs. Seems to work but I'm not happy with it yet.
Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into JustLookingAgain
Minor renaming and a static abort flag flag added to the QuadPatchJob
Removed ability to cancel terrain jobs.
Added a class static flag to abort all patch jobs.
Added base class for patch jobs, derived single and quad patch jobs.
Changed ALL terrain height and colour to be const to make calling them cleaner.
Made Pi::pJobs into a ScopedPtr so it get's cleaned up at program exit, no longer delete it when leaving a game.
No longer using the swarm job pointer for cancelling so it can go.
WIP - normals need to be generated in the jobs not by querying neighbouring patches I think.