summaryrefslogtreecommitdiff
path: root/libs/hwui/Layer.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-09-10 13:04:31 -0700
committer Chris Craik <ccraik@google.com> 2014-09-10 16:10:24 -0700
commitbfd1cd620991ac2fa9202fdce6c00ec47d071935 (patch)
treecc0460e5066d0a765610fb5eb4a3e30ef9bc28a5 /libs/hwui/Layer.cpp
parentfc81bfe3fb43296ca7040b8f259e1cbec50898ca (diff)
Additional layer logging
bug:17208461 Track layer's last known state. Change-Id: Ic1799191f5839a1d6cc56f598f2ac2671dc27a6f
Diffstat (limited to 'libs/hwui/Layer.cpp')
-rw-r--r--libs/hwui/Layer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp
index 91c4aee98d0d..b5089aa79ff3 100644
--- a/libs/hwui/Layer.cpp
+++ b/libs/hwui/Layer.cpp
@@ -30,7 +30,8 @@ namespace android {
namespace uirenderer {
Layer::Layer(Type layerType, RenderState& renderState, const uint32_t layerWidth, const uint32_t layerHeight)
- : caches(Caches::getInstance())
+ : state(kState_Uncached)
+ , caches(Caches::getInstance())
, renderState(renderState)
, texture(caches)
, type(layerType) {