graphicstest/uibench/src/tflipframerate.cpp
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
--- a/graphicstest/uibench/src/tflipframerate.cpp	Tue Feb 02 01:47:50 2010 +0200
+++ b/graphicstest/uibench/src/tflipframerate.cpp	Fri Apr 16 16:21:04 2010 +0300
@@ -211,7 +211,7 @@
     TInt framesDone=0;
     
     iUpdateSession.NotifyWhenAvailable(availabilityStatus);
-    TESTL(KErrNone==iUpdateSession.SubmitUpdate(KSgScreenIdMain, iImgCol.SurfaceId(), 0));      
+    TESTL(KErrNone==iUpdateSession.SubmitUpdate(KAllScreens, iImgCol.SurfaceId(), 0));      
     
     // uibench, needs more than 50 results for the trimmed mean, so repeat as required.
     while(framesDone < KMinFrames)
@@ -231,7 +231,7 @@
     
             // Start Timer & Submit Update
             iProfiler->StartTimer();        
-            TESTL(KErrNone==iUpdateSession.SubmitUpdate(KSgScreenIdMain, iImgCol.SurfaceId(), 0));
+            TESTL(KErrNone==iUpdateSession.SubmitUpdate(KAllScreens, iImgCol.SurfaceId(), 0));
             
             // Wait for the update to have been displayed and stop the timer
             User::WaitForRequest(displayedStatus);