Index: debugger/QT/SkDebuggerGUI.cpp |
=================================================================== |
--- debugger/QT/SkDebuggerGUI.cpp (revision 13738) |
+++ debugger/QT/SkDebuggerGUI.cpp (working copy) |
@@ -323,7 +323,7 @@ |
renderer->setup(); |
renderer->render(NULL); |
- renderer->resetState(true); |
+ renderer->resetState(true); // flush, swapBuffers and Finish |
// We throw this away the first batch of times to remove first time effects (such as paging in this program) |
pict->resetTimes(); |
@@ -331,8 +331,9 @@ |
for (int i = 0; i < repeats; ++i) { |
renderer->setup(); |
renderer->render(NULL); |
- renderer->resetState(true); |
+ renderer->resetState(false); // flush & swapBuffers, but don't Finish |
} |
+ renderer->resetState(true); // flush, swapBuffers and Finish |
renderer->end(); |
} |