summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-07-17 09:48:23 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-07-17 09:48:23 -0700
commitdf35691cd76b673c8a24babfab42d6bec4ee465b (patch)
treea8466827447f0fc86978af7a1fb3eacc9b554dfe /Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h
parent0453f79675ffe6fddb59add2dcee0e3f0e7e74b1 (diff)
downloadexternal_webkit-df35691cd76b673c8a24babfab42d6bec4ee465b.zip
external_webkit-df35691cd76b673c8a24babfab42d6bec4ee465b.tar.gz
external_webkit-df35691cd76b673c8a24babfab42d6bec4ee465b.tar.bz2
Revert "Don't prepare in invoke mode unless needed"
bug:6829376 This reverts commit 0453f79675ffe6fddb59add2dcee0e3f0e7e74b1
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h b/Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h
index 70b84df..53b5bb6 100644
--- a/Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h
+++ b/Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.h
@@ -26,10 +26,10 @@
#ifndef SurfaceCollectionManager_h
#define SurfaceCollectionManager_h
-#include "SkRect.h"
#include "TestExport.h"
#include <utils/threads.h>
+class SkRect;
class SkCanvas;
namespace WebCore {
@@ -60,9 +60,6 @@ private:
void clearCollections();
void updatePaintingCollection(SurfaceCollection* newCollection);
int singleSurfaceModeInvalidation(bool hasRunningAnimation, bool scrolling, bool shouldDraw);
- void prepareGL(SurfaceCollection* collection, SkRect& visibleContentRect, float scale,
- TexturesResult* texturesResultPtr, bool shouldDraw, bool tryFastBlit);
-
SurfaceCollection* m_drawingCollection;
SurfaceCollection* m_paintingCollection;
SurfaceCollection* m_queuedCollection;
@@ -73,10 +70,6 @@ private:
// Used in single surface mode only. True if there is a new painting tree
// added for the current frame.
bool m_newPaintingCollection;
-
- SurfaceCollection* m_lastPreparedCollection;
- SkRect m_lastPreparedRect;
- float m_lastPreparedScale;
};
} // namespace WebCore