diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-29 14:07:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-29 14:07:38 -0700 |
commit | 801baef3f16b57186efacedf76b3ada9f4bd6cb5 (patch) | |
tree | 8dd9caf399dcd2e7cef9abbf63fd9ab05d96ed24 | |
parent | 2661e8f80aa20c695248d227778efa3593471df8 (diff) |
default interval to one for present test
-rw-r--r-- | present.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -58,7 +58,7 @@ int x; int x_inc = 30; uint64_t msc; uint64_t target_msc; -int interval = 0; +int interval = 1; uint32_t serial; uint32_t options = 0; // XCB_PRESENT_OPTION_ASYNC; @@ -300,8 +300,8 @@ main (int argc, char **argv) if (diff< 0) diff = -diff; - if (diff && interval) - printf ("target %lld actual %lld\n", target_msc, ce->msc); +// if (diff && interval) +// printf ("target %lld actual %lld\n", target_msc, ce->msc); ++frame_count; switch (ce->mode) { case XCB_PRESENT_COMPLETE_MODE_COPY: |