OSDN Git Service

Revert prefetching for now, as we do not have enough tiles on stingray
authorNicolas Roard <nicolasroard@google.com>
Fri, 19 Aug 2011 00:04:49 +0000 (17:04 -0700)
committerNicolas Roard <nicolasroard@google.com>
Fri, 19 Aug 2011 00:04:49 +0000 (17:04 -0700)
to make it works well.

bug:5168261
Change-Id: I5575195c192759629831e11dbc90a71bc1418475

Source/WebCore/platform/graphics/android/GLWebViewState.h

index f3cbf74..34af317 100644 (file)
@@ -43,7 +43,7 @@
 #define MAX_MEASURES_PERF 2000
 
 // Prefetch and render 2 tiles ahead of the scroll
-#define TILE_PREFETCH_DISTANCE 2
+#define TILE_PREFETCH_DISTANCE 0
 
 // ratio of content to view required for prefetching to enable
 #define TILE_PREFETCH_RATIO 1.2