From 0e89e2b7bcb2c035e8cee77f93120e7c5617f8d2 Mon Sep 17 00:00:00 2001 From: John Reck Date: Fri, 31 Oct 2014 14:49:06 -0700 Subject: Layer changes Bug: 17208461 * Switch Layer to be VirtualLightRefBase instead of Caches' side-channel ref-counting * Include active layers in gfxinfo dump * Run gfxinfo dump on the correct thread * Dump gfxinfo on Layer creation failure Change-Id: I28d195699e2334518e215ab28c7a17355aee9678 --- libs/hwui/DisplayList.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libs/hwui/DisplayList.h') diff --git a/libs/hwui/DisplayList.h b/libs/hwui/DisplayList.h index dea109c..cb8a8d1 100644 --- a/libs/hwui/DisplayList.h +++ b/libs/hwui/DisplayList.h @@ -147,7 +147,6 @@ public: Vector paths; SortedVector sourcePaths; Vector regions; - Vector layers; Vector functors; const Vector& getChunks() const { @@ -157,11 +156,7 @@ public: size_t addChild(DrawRenderNodeOp* childOp); const Vector& children() { return mChildren; } - void refProperty(CanvasPropertyPrimitive* prop) { - mReferenceHolders.push(prop); - } - - void refProperty(CanvasPropertyPaint* prop) { + void ref(VirtualLightRefBase* prop) { mReferenceHolders.push(prop); } -- cgit v1.1