Changeset 140191 in webkit
- Timestamp:
- Jan 18, 2013 11:58:16 AM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/BackingStore.cpp
r140128 r140191 2456 2456 } 2457 2457 2458 void BackingStore::createBackingStoreMemory() 2459 { 2460 if (BackingStorePrivate::s_currentBackingStoreOwner == d->m_webPage) 2461 SurfacePool::globalSurfacePool()->createBuffers(); 2462 resumeBackingStoreUpdates(); 2463 resumeScreenUpdates(BackingStore::RenderAndBlit); 2464 } 2465 2466 void BackingStore::releaseBackingStoreMemory() 2467 { 2468 suspendBackingStoreUpdates(); 2469 suspendScreenUpdates(); 2458 void BackingStore::acquireBackingStoreMemory() 2459 { 2460 SurfacePool::globalSurfacePool()->createBuffers(); 2461 } 2462 2463 void BackingStore::releaseOwnedBackingStoreMemory() 2464 { 2470 2465 if (BackingStorePrivate::s_currentBackingStoreOwner == d->m_webPage) 2471 2466 SurfacePool::globalSurfacePool()->releaseBuffers(); -
trunk/Source/WebKit/blackberry/Api/BackingStore.h
r138539 r140191 72 72 bool isDirectRenderingToWindow() const; 73 73 74 void createBackingStoreMemory();75 void release BackingStoreMemory();74 void acquireBackingStoreMemory(); 75 void releaseOwnedBackingStoreMemory(); 76 76 77 77 void drawContents(Platform::Graphics::Drawable*, const Platform::IntRect& /*contentsRect*/, const Platform::IntSize& /*destinationSize*/); -
trunk/Source/WebKit/blackberry/ChangeLog
r140170 r140191 1 2013-01-18 Andrew Lo <anlo@rim.com> 2 3 [BlackBerry] When acquiring/releasing backing store memory, allow web page client control suspend/resuming of backing store 4 https://bugs.webkit.org/show_bug.cgi?id=107307 5 6 Reviewed by Rob Buis. 7 Internally reviewed by Jakob Petsovits. 8 9 Internal PR276660 10 Have BackingStore::createBackingStoreMemory & releaseBackingStoreMemory only 11 acquire & release the surface pool. It doesn't matter if either is called 12 redundantly since SurfacePool has internal state to protect against that. 13 14 Resuming & suspending backing store and screen updates will be handled by 15 the WebPageClient. 16 17 * Api/BackingStore.cpp: 18 (BlackBerry::WebKit::BackingStore::acquireBackingStoreMemory): 19 (BlackBerry::WebKit::BackingStore::releaseOwnedBackingStoreMemory): 20 * Api/BackingStore.h: 21 1 22 2013-01-18 Nima Ghanavatian <nghanavatian@rim.com> 2 23
Note: See TracChangeset
for help on using the changeset viewer.