2011-02-16 Yael Aharon <yael.aharon@nokia.com>
authoryael.aharon@nokia.com <yael.aharon@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Feb 2011 04:27:38 +0000 (04:27 +0000)
committeryael.aharon@nokia.com <yael.aharon@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Feb 2011 04:27:38 +0000 (04:27 +0000)
        Reviewed by Andreas Kling.

        [Qt] Enable tiled backing store by default in MiniBrowser.
        https://bugs.webkit.org/show_bug.cgi?id=54581

        Instead of a flag to turn it on, a new flag is defined to turn
        tiled backing store off.

        * MiniBrowser/qt/MiniBrowserApplication.cpp:
        (MiniBrowserApplication::handleUserOptions):
        * MiniBrowser/qt/MiniBrowserApplication.h:
        (WindowOptions::WindowOptions):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78784 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/MiniBrowser/qt/MiniBrowserApplication.cpp
Tools/MiniBrowser/qt/MiniBrowserApplication.h

index b95ef27..4b3eb4e 100644 (file)
@@ -1,3 +1,18 @@
+2011-02-16  Yael Aharon  <yael.aharon@nokia.com>
+
+        Reviewed by Andreas Kling.
+
+        [Qt] Enable tiled backing store by default in MiniBrowser.
+        https://bugs.webkit.org/show_bug.cgi?id=54581
+
+        Instead of a flag to turn it on, a new flag is defined to turn
+        tiled backing store off.
+
+        * MiniBrowser/qt/MiniBrowserApplication.cpp:
+        (MiniBrowserApplication::handleUserOptions):
+        * MiniBrowser/qt/MiniBrowserApplication.h:
+        (WindowOptions::WindowOptions):
+
 2011-02-16  Eric Seidel  <eric@webkit.org>
 
         Reviewed by Mihai Parparita.
index 4ed7895..d68d299 100644 (file)
@@ -58,7 +58,7 @@ void MiniBrowserApplication::handleUserOptions()
              << "[-r list]"
              << "[-robot-timeout seconds]"
              << "[-robot-extra-time seconds]"
-             << "[-tiled-backing-store]"
+             << "[-chunked-drawing-area]"
              <<  "[-separate-web-process-per-window]"
              << "URLs";
         appQuit(0);
@@ -87,8 +87,8 @@ void MiniBrowserApplication::handleUserOptions()
     if (robotExtraTimeIndex != -1)
         m_robotExtraTimeSeconds = takeOptionValue(&args, robotExtraTimeIndex).toInt();
 
-    if (args.contains("-tiled-backing-store"))
-        m_windowOptions.useTiledBackingStore = true;
+    if (args.contains("-chunked-drawing-area"))
+        m_windowOptions.useTiledBackingStore = false;
 
     if (args.contains("-separate-web-process-per-window"))
         m_windowOptions.useSeparateWebProcessPerWindow = true;
index 2039764..45dbde9 100644 (file)
@@ -34,7 +34,7 @@
 
 struct WindowOptions {
     WindowOptions()
-        : useTiledBackingStore(false)
+        : useTiledBackingStore(true)
         , useSeparateWebProcessPerWindow(false)
     {
     }