Remove logging of DisplayList staleness
Change-Id: Ie6b3af3065d4d10ec0bc9b419223d3458d297ea8
diff --git a/libs/hwui/DisplayList.h b/libs/hwui/DisplayList.h
index 8026c4a..6e6e596 100644
--- a/libs/hwui/DisplayList.h
+++ b/libs/hwui/DisplayList.h
@@ -76,7 +76,7 @@
class PlaybackStateStruct {
protected:
PlaybackStateStruct(OpenGLRenderer& renderer, int replayFlags, LinearAllocator* allocator)
- : mRenderer(renderer), mReplayFlags(replayFlags), mAllocator(allocator), mRoot(NULL) {}
+ : mRenderer(renderer), mReplayFlags(replayFlags), mAllocator(allocator){}
public:
OpenGLRenderer& mRenderer;
@@ -85,7 +85,6 @@
// Allocator with the lifetime of a single frame.
// replay uses an Allocator owned by the struct, while defer shares the DeferredDisplayList's Allocator
LinearAllocator * const mAllocator;
- const DisplayList* mRoot; // TEMPORARY, for debug logging only
};
class DeferStateStruct : public PlaybackStateStruct {
@@ -196,9 +195,6 @@
}
void setProjectToContainedVolume(bool shouldProject) {
- if (!mProjectToContainedVolume && shouldProject) {
- ALOGD("DL %s(%p) marked for projection", getName(), this);
- }
mProjectToContainedVolume = shouldProject;
}
@@ -264,9 +260,6 @@
void setTranslationZ(float translationZ) {
if (translationZ != mTranslationZ) {
- if (mTranslationZ == 0.0f) {
- ALOGD("DL %s(%p) marked for 3d compositing", getName(), this);
- }
mTranslationZ = translationZ;
onTranslationUpdate();
}
@@ -537,8 +530,7 @@
Vector<ZDrawDisplayListOpPair>* compositedChildrenOf3dRoot,
const mat4* transformFrom3dRoot,
Vector<DrawDisplayListOp*>* compositedChildrenOfProjectionSurface,
- const mat4* transformFromProjectionSurface,
- const void* rootDisplayList, const int orderingId);
+ const mat4* transformFromProjectionSurface);
template <class T>
inline void setViewProperties(OpenGLRenderer& renderer, T& handler, const int level);
@@ -631,10 +623,6 @@
// for projection surfaces, contains a list of all children items
Vector<DrawDisplayListOp*> mProjectedNodes;
-
- // TEMPORARY, for debug logging only
- const void* mRootDisplayList;
- int mOrderingId;
}; // class DisplayList
}; // namespace uirenderer