summaryrefslogtreecommitdiffstats
path: root/libs/hwui/RenderState.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-12-11 01:12:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-12-11 01:12:31 +0000
commiteb2dcc791e649e07ec8114e00752b54965c46e65 (patch)
tree778bf0fffa448d4a6333fc8571b2dd74717b2551 /libs/hwui/RenderState.h
parentdaec594370f0e47bf07d0c9c968e3c5dfedf0bb5 (diff)
parentebd52610cfeff6e557fde284a7e1efc5e6438285 (diff)
downloadframeworks_base-eb2dcc791e649e07ec8114e00752b54965c46e65.zip
frameworks_base-eb2dcc791e649e07ec8114e00752b54965c46e65.tar.gz
frameworks_base-eb2dcc791e649e07ec8114e00752b54965c46e65.tar.bz2
Merge "Don't preload textures for AssetAtlas" into lmp-mr1-dev
Diffstat (limited to 'libs/hwui/RenderState.h')
-rw-r--r--libs/hwui/RenderState.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/RenderState.h b/libs/hwui/RenderState.h
index afeef95..1ecfb1c 100644
--- a/libs/hwui/RenderState.h
+++ b/libs/hwui/RenderState.h
@@ -23,6 +23,7 @@
#include <private/hwui/DrawGlInfo.h>
+#include "AssetAtlas.h"
#include "Caches.h"
#include "utils/Macros.h"
@@ -73,6 +74,8 @@ public:
// more thinking...
void postDecStrong(VirtualLightRefBase* object);
+ AssetAtlas& assetAtlas() { return mAssetAtlas; }
+
private:
friend class renderthread::RenderThread;
friend class Caches;
@@ -86,6 +89,7 @@ private:
renderthread::RenderThread& mRenderThread;
Caches* mCaches;
+ AssetAtlas mAssetAtlas;
std::set<const Layer*> mActiveLayers;
std::set<renderthread::CanvasContext*> mRegisteredContexts;