| commit | 6ef6d2afff67ff7fb7af8c253838efcffa5d618d | [log] [tgz] |
|---|---|---|
| author | Nicolas Capens <capn@google.com> | Mon Feb 23 14:23:11 2015 -0500 |
| committer | Nicolas Capens <capn@google.com> | Mon Mar 02 18:52:42 2015 +0000 |
| tree | 8aef5a26335ba7024573b6c1785bfc66db254de3 | |
| parent | 31ad2aa7f12e804d6628fb70d6e945c419cb2c7d [diff] [blame] |
Always show the FPS when SwiftConfig is active. Change-Id: Iec5aff6d73f9e20ba4bc6a95bc1e07d5e7b5930e Reviewed-on: https://swiftshader-review.googlesource.com/2490 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Maxime Grégoire <mgregoire@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/Main/FrameBuffer.cpp b/src/Main/FrameBuffer.cpp index e2a3f36..d1e74d0 100644 --- a/src/Main/FrameBuffer.cpp +++ b/src/Main/FrameBuffer.cpp
@@ -187,6 +187,8 @@ } unlock(); + + profiler.nextFrame(); // Assumes every copy() is a full frame } void FrameBuffer::copyLocked()