commit | b2ce0b0735e08718bcba01b44519904ad9020f34 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Mon Nov 09 13:10:30 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Nov 09 13:10:30 2015 -0800 |
tree | c5c0f8a52595eb623c72c319ca29181a6b3c7537 | |
parent | 47fdae9807c559e8b9f6ddff26cd34de03441594 [diff] [blame] |
demo tweaks, scale up perlin, add call to flush for fps BUG=skia: TBR=bsalomon Review URL: https://codereview.chromium.org/1419983006
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index df83d4d..c71fda5 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp
@@ -1441,6 +1441,7 @@ // Do this after presentGL and other finishing, rather than in afterChild if (fMeasureFPS) { + orig->flush(); fTimer.end(); fMeasureFPS_Time += fTimer.fWall; }