Changeset 56146 in webkit
- Timestamp:
- Mar 17, 2010 8:41:38 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r56145 r56146 1 2010-03-17 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Accelerated Compositing is now default on QtWebKit so the option 6 in QtLauncher must be true as default. 7 8 [Qt] QtLauncher's Accelerated Compositing option must be true as default 9 https://bugs.webkit.org/show_bug.cgi?id=36234 10 11 * QtLauncher/main.cpp: 12 (LauncherWindow::applyPrefs): 13 (LauncherWindow::toggleAcceleratedCompositing): 14 (LauncherApplication::handleUserOptions): 15 1 16 2010-03-17 Adam Barth <abarth@webkit.org> 2 17 -
trunk/WebKitTools/QtLauncher/main.cpp
r56117 r56146 73 73 static const int gExitClickArea = 80; 74 74 static bool gUseGraphicsView = false; 75 static bool gUseCompositing = false;75 static bool gUseCompositing = true; 76 76 static bool gCacheWebView = false; 77 77 static bool gShowFrameRate = false; … … 242 242 243 243 applySetting(QWebSettings::AcceleratedCompositingEnabled, settings, other, gUseCompositing); 244 applySetting(QWebSettings::TiledBackingStoreEnabled, settings, other, gUseTiledBackingStore); ;244 applySetting(QWebSettings::TiledBackingStoreEnabled, settings, other, gUseTiledBackingStore); 245 245 applySetting(QWebSettings::WebGLEnabled, settings, other, false); 246 246 … … 531 531 void LauncherWindow::toggleAcceleratedCompositing(bool toggle) 532 532 { 533 gUseCompositing = toggle; 533 534 page()->settings()->setAttribute(QWebSettings::AcceleratedCompositingEnabled, toggle); 534 535 } … … 918 919 qDebug() << "Usage:" << programName.toLatin1().data() 919 920 << "[-graphicsbased]" 920 << "[- compositing]"921 << "[-no-compositing]" 921 922 << QString("[-viewport-update-mode %1]").arg(formatKeys(updateModes)).toLatin1().data() 922 923 << "[-cache-webview]" … … 933 934 gUseGraphicsView = true; 934 935 935 if (args.contains("- compositing")) {936 requiresGraphicsView("- compositing");937 gUseCompositing = true;936 if (args.contains("-no-compositing")) { 937 requiresGraphicsView("-no-compositing"); 938 gUseCompositing = false; 938 939 } 939 940
Note: See TracChangeset
for help on using the changeset viewer.