Changeset 96930 in webkit
- Timestamp:
- Oct 7, 2011, 5:17:00 AM (15 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h (modified) (1 diff)
-
WebKit/chromium/ChangeLog (modified) (1 diff)
-
WebKit/chromium/features.gypi (modified) (3 diffs)
-
WebKit/chromium/src/WebViewImpl.h (modified) (2 diffs)
-
WebKit/chromium/tests/CCLayerTreeHostTest.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r96929 r96930 1 2011-10-07 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r96879. 4 http://trac.webkit.org/changeset/96879 5 https://bugs.webkit.org/show_bug.cgi?id=69618 6 7 Broke CCLayerTreeHostTestShortlived1 on chromium mac. 8 (Requested by podivilov on #webkit). 9 10 * platform/graphics/chromium/cc/CCLayerTreeHost.h: 11 1 12 2011-10-07 Pavel Feldman <pfeldman@google.com> 2 13 -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h
r96879 r96930 55 55 virtual PassRefPtr<GraphicsContext3D> createLayerTreeHostContext3D() = 0; 56 56 virtual void didRecreateGraphicsContext(bool success) = 0; 57 58 // Used in the non-threaded path 57 #if !USE(THREADED_COMPOSITING) 59 58 virtual void scheduleComposite() = 0; 60 59 #endif 61 60 protected: 62 61 virtual ~CCLayerTreeHostClient() { } -
trunk/Source/WebKit/chromium/ChangeLog
r96927 r96930 1 2011-10-07 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r96879. 4 http://trac.webkit.org/changeset/96879 5 https://bugs.webkit.org/show_bug.cgi?id=69618 6 7 Broke CCLayerTreeHostTestShortlived1 on chromium mac. 8 (Requested by podivilov on #webkit). 9 10 * features.gypi: 11 * src/WebViewImpl.h: 12 * tests/CCLayerTreeHostTest.cpp: 13 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest): 14 (WTF::CCLayerTreeHostTest::onEndTest): 15 1 16 2011-10-07 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Source/WebKit/chromium/features.gypi
r96923 r96930 109 109 'variables': { 110 110 'use_accelerated_compositing%': 1, 111 'use_threaded_compositing%': 0, 111 112 'enable_svg%': 1, 112 113 'enable_touch_events%': 1, … … 117 118 }, 118 119 'use_accelerated_compositing%': '<(use_accelerated_compositing)', 120 'use_threaded_compositing%': '<(use_threaded_compositing)', 119 121 'enable_svg%': '<(enable_svg)', 120 122 'enable_touch_events%': '<(enable_touch_events)', … … 139 141 'feature_defines': [ 140 142 'ENABLE_ACCELERATED_2D_CANVAS=1', 143 ], 144 }], 145 ['use_accelerated_compositing==1 and use_threaded_compositing==1', { 146 'feature_defines': [ 147 'WTF_USE_THREADED_COMPOSITING=1', 141 148 ], 142 149 }], -
trunk/Source/WebKit/chromium/src/WebViewImpl.h
r96879 r96930 224 224 virtual PassRefPtr<WebCore::GraphicsContext3D> createLayerTreeHostContext3D(); 225 225 virtual void didRecreateGraphicsContext(bool success); 226 226 #if !USE(THREADED_COMPOSITING) 227 227 virtual void scheduleComposite(); 228 #endif 228 229 229 230 // WebViewImpl … … 452 453 #if USE(ACCELERATED_COMPOSITING) 453 454 void setIsAcceleratedCompositingActive(bool); 455 #if !USE(THREADED_COMPOSITING) 456 void doComposite(); 457 #endif 454 458 void doPixelReadbackToCanvas(WebCanvas*, const WebCore::IntRect&); 455 459 void reallocateRenderer(); -
trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp
r96879 r96930 25 25 #include "config.h" 26 26 27 #if USE(THREADED_COMPOSITING) 28 27 29 #include "cc/CCLayerTreeHost.h" 28 30 … … 169 171 } 170 172 173 #if !USE(THREADED_COMPOSITING) 171 174 virtual void scheduleComposite() { } 175 #endif 172 176 173 177 private: … … 213 217 m_webThread = adoptPtr(webKitPlatformSupport()->createThread("CCLayerTreeHostTest")); 214 218 WebCompositor::setThread(m_webThread.get()); 219 #if USE(THREADED_COMPOSITING) 215 220 m_settings.enableCompositorThread = true; 221 #else 222 m_settings.enableCompositorThread = false; 223 #endif 216 224 } 217 225 … … 226 234 { 227 235 ASSERT(isMainThread()); 228 // webkit_support::QuitMessageLoop() simply posts a task on the loop to quit. Any pending messages enqueued229 // before the Quit task will still run. For this test scenario we want to run all pending messages before230 // tearing down m_layerTreeHost, so we spin the loop after posting the Quit task.231 236 webkit_support::QuitMessageLoop(); 232 webkit_support::RunAllPendingMessages();233 237 CCLayerTreeHostTest* test = static_cast<CCLayerTreeHostTest*>(self); 234 238 ASSERT(test); … … 713 717 714 718 } // namespace 719 720 #endif
Note:
See TracChangeset
for help on using the changeset viewer.