]> git.cworth.org Git - fips/blobdiff - context.c
Add per-frame time and latency measurements
[fips] / context.c
index 3c58a60e6b2fbd76ca7a13dfaa3248f67fd43828..b18017da9b55b5d8d345e9399c5af5728a948df3 100644 (file)
--- a/context.c
+++ b/context.c
@@ -119,9 +119,15 @@ context_get_current_op (void)
 }
 
 void
-context_end_frame (void)
+context_end_frame_pre_swap (void)
 {
-       return metrics_end_frame (current_context->metrics);
+       return metrics_end_frame_pre_swap (current_context->metrics);
+}
+
+void
+context_end_frame_post_swap (void)
+{
+       return metrics_end_frame_post_swap (current_context->metrics);
 }
 
 /* Is the given extension available? */