Loading libs/hwui/renderstate/RenderState.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,9 @@ void RenderState::onGLContextCreated() { mStencil = new Stencil(); // This is delayed because the first access of Caches makes GL calls if (!mCaches) { mCaches = &Caches::createInstance(*this); } mCaches->init(); mCaches->textureCache.setAssetAtlas(&mAssetAtlas); } Loading Loading
libs/hwui/renderstate/RenderState.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,9 @@ void RenderState::onGLContextCreated() { mStencil = new Stencil(); // This is delayed because the first access of Caches makes GL calls if (!mCaches) { mCaches = &Caches::createInstance(*this); } mCaches->init(); mCaches->textureCache.setAssetAtlas(&mAssetAtlas); } Loading