Changeset 211798 in webkit
- Timestamp:
- Feb 7, 2017 1:34:18 AM (7 years ago)
- Location:
- releases/WebKitGTK/webkit-2.14/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.14/Source/WebKit2/ChangeLog
r211797 r211798 1 2017-01-27 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Stop forcing accelerated compositing by default 4 https://bugs.webkit.org/show_bug.cgi?id=167492 5 6 Reviewed by Žan Doberšek. 7 8 We are now ready to bring back the on demand accelerated compositing mode with the threaded 9 compositor. Unfortunately, having AC always enabled brought a lot of issues for many people. Not only it 10 requires a lot more memory but also caused rendering issues (or even nothing rendered at all) with some graphics 11 drivers. People started to use WEBKIT_DISABLE_COMPOSITING_MODE as a workaround, but that was not expected to be 12 used by users. So, entering/leaving AC when required by web contents is not actually the solution but a huge 13 improvement for many people. If we are eventually ready to force AC mode again, we'll change this again. Note 14 that we still have WEBKIT_DISABLE_COMPOSITING_MODE, but now also WEBKIT_FORCE_COMPOSITING_MODE for testing and debugging. 15 16 * UIProcess/gtk/WebPreferencesGtk.cpp: 17 (WebKit::WebPreferences::platformInitializeStore): 18 1 19 2017-01-30 Carlos Garcia Campos <cgarcia@igalia.com> 2 20 -
releases/WebKitGTK/webkit-2.14/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp
r211786 r211798 45 45 setAcceleratedCompositingEnabled(false); 46 46 #else 47 #if USE(COORDINATED_GRAPHICS_THREADED) 48 setForceCompositingMode(true); 49 #else 50 const char* force_compositing = getenv("WEBKIT_FORCE_COMPOSITING_MODE"); 51 if (force_compositing && strcmp(force_compositing, "0")) 47 const char* forceCompositing = getenv("WEBKIT_FORCE_COMPOSITING_MODE"); 48 if (forceCompositing && strcmp(forceCompositing, "0")) 52 49 setForceCompositingMode(true); 53 #endif54 50 55 const char* disable _compositing = getenv("WEBKIT_DISABLE_COMPOSITING_MODE");56 if (disable _compositing && strcmp(disable_compositing, "0")) {51 const char* disableCompositing = getenv("WEBKIT_DISABLE_COMPOSITING_MODE"); 52 if (disableCompositing && strcmp(disableCompositing, "0")) { 57 53 setAcceleratedCompositingEnabled(false); 58 54 return;
Note: See TracChangeset
for help on using the changeset viewer.