Changeset 87119 in webkit
- Timestamp:
- May 23, 2011 7:08:46 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r87113 r87119 1 2011-05-23 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Cap painting to 30fps on Windows 6 https://bugs.webkit.org/show_bug.cgi?id=61337 7 <rdar://problem/9213388> 8 9 * WebProcess/WebPage/DrawingAreaImpl.cpp: 10 (WebKit::DrawingAreaImpl::displayTimerFired): 11 1 12 2011-05-23 Jeremy Noble <jer.noble@apple.com> 2 13 -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp
r86689 r87119 497 497 void DrawingAreaImpl::displayTimerFired() 498 498 { 499 #if PLATFORM(WIN) 500 // For now we'll cap painting on Windows to 30fps because painting is much slower there for some reason. 501 static const double minimumFrameInterval = 1.0 / 30.0; 502 #else 499 503 static const double minimumFrameInterval = 1.0 / 60.0; 500 504 #endif 505 501 506 double timeSinceLastDisplay = currentTime() - m_lastDisplayTime; 502 507 double timeUntilLayerTreeHostNeedsDisplay = m_layerTreeHost && m_layerTreeHost->participatesInDisplay() ? m_layerTreeHost->timeUntilNextDisplay() : 0;
Note: See TracChangeset
for help on using the changeset viewer.