Turn off picture splitting for now.

Splitting the content was causing a mismatch between the base content picture
and composited layers.  It was also happening on every single inval.

Bug: 3372320
Change-Id: I09da2d0f3cba028c355ceba2b4c8e34da5a77028
This commit is contained in:
Patrick Scott
2011-01-25 15:19:45 -05:00
parent 78b32fc451
commit 85b69e0390

View File

@@ -4101,7 +4101,9 @@ public class WebView extends AbsoluteLayout
df = mScrollFilter;
}
canvas.setDrawFilter(df);
int content = nativeDraw(canvas, color, extras, true);
// XXX: Revisit splitting content. Right now it causes a
// synchronization problem with layers.
int content = nativeDraw(canvas, color, extras, false);
canvas.setDrawFilter(null);
if (content != 0) {
mWebViewCore.sendMessage(EventHub.SPLIT_PICTURE_SET, content, 0);