]> git.cworth.org Git - fips/commit
Tiny refactoring of metrics_end_frame interface
authorCarl Worth <cworth@cworth.org>
Fri, 1 Nov 2013 17:42:38 +0000 (10:42 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 11 Nov 2013 18:31:42 +0000 (10:31 -0800)
commit38cac4f60ed2d37cb90dc6018d90600edf5ba8eb
tree95070519a89650dc296ae8ea63e0f0654d47b9cc
parent4b8e79fbf3a58702a11c4959d8c153f98f9fbcd3
Tiny refactoring of metrics_end_frame interface

Previously, the callers were stopping and starting the counter outside
of the call to metrics_end_frame. There's less code duplication and
more robustness by moving the counter stop and counter start into the
metrics_end_frame function itself.
eglwrap.c
glxwrap.c
metrics.c