worklist/hifi — pull request #278 by ZappoMan (2013-05-10 20:23:18+00:00)
Title: Implement Partial VBO strategy in copyWrittenDataToReadArrays()

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Old code, always updates the full VBOs on all calls to copyWrittenDataToReadArrays()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

WARNING! copyWrittenDataToReadArrays() took 11.741000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 11.770000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 11.730000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 12.199000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 12.556000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.902000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.654000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.616000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.480000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 8.021000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.659000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.340000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.572000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.237000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.203000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 7.804000 milliseconds

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// New code, for most calls to copyWrittenDataToReadArrays() it only updates the portions of the VBOs that have changed,
// e.g. new voxels only updates the full VBOs after calls to cleanupRemovedVoxels() voxels
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

WARNING! copyWrittenDataToReadArrays() took 0.777000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.385000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 8.848000 milliseconds <<< NOTE: there's a more expensive one...
WARNING! copyWrittenDataToReadArrays() took 0.945000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.392000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.316000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.285000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.271000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.393000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.293000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.409000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.326000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.294000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.304000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 8.814000 milliseconds <<< NOTE: there's a more expensive one...
WARNING! copyWrittenDataToReadArrays() took 0.299000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.374000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.516000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.955000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 6.805000 milliseconds <<< NOTE: there's a more expensive one...
WARNING! copyWrittenDataToReadArrays() took 0.451000 milliseconds
WARNING! copyWrittenDataToReadArrays() took 0.322000 milliseconds