diff options
Diffstat (limited to 'libs/hwui/RenderState.h')
-rw-r--r-- | libs/hwui/RenderState.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/RenderState.h b/libs/hwui/RenderState.h index aa39a3a..629fe0d 100644 --- a/libs/hwui/RenderState.h +++ b/libs/hwui/RenderState.h @@ -25,6 +25,8 @@ #include <private/hwui/DrawGlInfo.h> +#include "AssetAtlas.h" +#include "Caches.h" #include "utils/Macros.h" namespace android { @@ -77,6 +79,8 @@ public: // more thinking... void postDecStrong(VirtualLightRefBase* object); + AssetAtlas& assetAtlas() { return mAssetAtlas; } + private: friend class renderthread::RenderThread; friend class Caches; @@ -90,6 +94,7 @@ private: renderthread::RenderThread& mRenderThread; Caches* mCaches; + AssetAtlas mAssetAtlas; std::set<const Layer*> mActiveLayers; std::set<renderthread::CanvasContext*> mRegisteredContexts; |