Title: [134978] trunk/Source/WebKit/blackberry
Revision
134978
Author
commit-qu...@webkit.org
Date
2012-11-16 11:48:03 -0800 (Fri, 16 Nov 2012)

Log Message

[BlackBerry] Fix regression causing checkerboard flicker after app wake-up
https://bugs.webkit.org/show_bug.cgi?id=102526

Patch by Adam Treat <atr...@rim.com> on 2012-11-16
Reviewed by George Staikos.
PR 245027

The webkit patch for 219976 introduced an undesirable behavior change
resulting in a regression where there was checkerboard flickering on
resuming from an inactive application state.  This patch restores the
previous behavior and fixes the regression.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStore::createBackingStoreMemory):
(BlackBerry::WebKit::BackingStore::releaseBackingStoreMemory):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (134977 => 134978)


--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp	2012-11-16 19:37:46 UTC (rev 134977)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp	2012-11-16 19:48:03 UTC (rev 134978)
@@ -2699,11 +2699,13 @@
     if (BackingStorePrivate::s_currentBackingStoreOwner == d->m_webPage)
         SurfacePool::globalSurfacePool()->createBuffers();
     resumeBackingStoreUpdates();
+    resumeScreenUpdates(BackingStore::RenderAndBlit);
 }
 
 void BackingStore::releaseBackingStoreMemory()
 {
     suspendBackingStoreUpdates();
+    suspendScreenUpdates();
     if (BackingStorePrivate::s_currentBackingStoreOwner == d->m_webPage)
         SurfacePool::globalSurfacePool()->releaseBuffers();
 }

Modified: trunk/Source/WebKit/blackberry/ChangeLog (134977 => 134978)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-11-16 19:37:46 UTC (rev 134977)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-11-16 19:48:03 UTC (rev 134978)
@@ -1,3 +1,20 @@
+2012-11-16  Adam Treat  <atr...@rim.com>
+
+        [BlackBerry] Fix regression causing checkerboard flicker after app wake-up
+        https://bugs.webkit.org/show_bug.cgi?id=102526
+
+        Reviewed by George Staikos.
+        PR 245027
+
+        The webkit patch for 219976 introduced an undesirable behavior change
+        resulting in a regression where there was checkerboard flickering on
+        resuming from an inactive application state.  This patch restores the
+        previous behavior and fixes the regression.
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStore::createBackingStoreMemory):
+        (BlackBerry::WebKit::BackingStore::releaseBackingStoreMemory):
+
 2012-11-16  Mike Fenton  <mifen...@rim.com>
 
         [BlackBerry] Use proper keycode value for space instead of hardcoded value.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to