Changeset 128756 in webkit
- Timestamp:
- Sep 17, 2012 8:00:42 AM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/BackingStore.cpp
r127650 r128756 29 29 #include "GraphicsContext.h" 30 30 #include "InspectorController.h" 31 #include "InspectorInstrumentation.h" 31 32 #include "Page.h" 32 33 #include "SurfacePool.h" … … 234 235 235 236 pthread_mutex_destroy(&m_mutex); 237 } 238 239 void BackingStorePrivate::instrumentBeginFrame() 240 { 241 WebCore::InspectorInstrumentation::didBeginFrame(WebPagePrivate::core(m_webPage)); 242 } 243 244 void BackingStorePrivate::instrumentCancelFrame() 245 { 246 WebCore::InspectorInstrumentation::didCancelFrame(WebPagePrivate::core(m_webPage)); 236 247 } 237 248 -
trunk/Source/WebKit/blackberry/Api/BackingStore_p.h
r126878 r128756 102 102 BackingStorePrivate(); 103 103 104 void instrumentBeginFrame(); 105 void instrumentCancelFrame(); 106 104 107 // Returns whether direct rendering is explicitly turned on or is 105 108 // required because the surface pool is not large enough to meet -
trunk/Source/WebKit/blackberry/ChangeLog
r128755 r128756 1 2012-09-17 Peter Wang <peter.wang@torchmobile.com.cn> 2 3 [BlackBerry] To support "Frames View" of "TimeLine" panel in Inspector 4 https://bugs.webkit.org/show_bug.cgi?id=96077 5 6 Reviewed by Rob Buis. 7 8 Invoke the "instrumentBeginFrame" and "instrumentCancelFrame" at the start and end of processing 9 render message to record one time of page's update. 10 11 * Api/BackingStore.cpp: 12 (BlackBerry::WebKit::BackingStorePrivate::instrumentBeginFrame): 13 (WebKit): 14 (BlackBerry::WebKit::BackingStorePrivate::instrumentCancelFrame): 15 * Api/BackingStore_p.h: 16 * WebKitSupport/RenderQueue.cpp: 17 (BlackBerry::WebKit::RenderQueue::render): 18 1 19 2012-09-17 Jakob Petsovits <jpetsovits@rim.com> 2 20 -
trunk/Source/WebKit/blackberry/WebKitSupport/RenderQueue.cpp
r126878 r128756 565 565 #endif 566 566 567 m_parent->instrumentBeginFrame(); 568 567 569 m_parent->requestLayoutIfNeeded(); 568 570 … … 585 587 } else if (!m_nonVisibleScrollJobs.empty()) 586 588 renderNonVisibleScrollJob(); 589 590 m_parent->instrumentCancelFrame(); 587 591 } 588 592
Note: See TracChangeset
for help on using the changeset viewer.