Refactoring to enable future time scaling, coordinated clocks, etc.

This commit is contained in:
Ben Vanik
2015-05-26 22:20:46 -07:00
parent 05f2577fb7
commit 8244409501
19 changed files with 213 additions and 57 deletions

View File

@@ -62,7 +62,6 @@ class CommandProcessor {
typedef std::function<void(const SwapParameters& params)> SwapHandler;
void set_swap_handler(SwapHandler fn) { swap_handler_ = fn; }
uint64_t QueryTime();
uint32_t counter() const { return counter_; }
void increment_counter() { counter_++; }
@@ -243,7 +242,6 @@ class CommandProcessor {
SwapMode swap_mode_;
uint64_t time_base_;
uint32_t counter_;
uint32_t primary_buffer_ptr_;