Refactor BufferViewer to avoid race conditions

* We now push everything mutable about the draw data configuration into a single
  struct which we copy around (the actual buffer data remains refcounted and not
  copied). This means that we don't have one thread still trying to do things on
  a model which is being updated on another thread.
This commit is contained in:
baldurk
2019-02-28 17:48:30 +00:00
parent 7541dc6bc7
commit ac37a592cc
2 changed files with 962 additions and 993 deletions
File diff suppressed because it is too large Load Diff