diff options
| author | 2014-09-10 13:04:31 -0700 | |
|---|---|---|
| committer | 2014-09-10 16:10:24 -0700 | |
| commit | bfd1cd620991ac2fa9202fdce6c00ec47d071935 (patch) | |
| tree | cc0460e5066d0a765610fb5eb4a3e30ef9bc28a5 /libs/hwui/Layer.cpp | |
| parent | fc81bfe3fb43296ca7040b8f259e1cbec50898ca (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.cpp | 3 |
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) { |