{
if (!layer || isPictureAfterFirstLayout) {
// TODO: move this into TreeManager
+ m_zoomManager.swapPages(); // reset zoom state
m_tiledPageA->discardTextures();
m_tiledPageB->discardTextures();
m_layersRenderingMode = kAllTextures;
m_tilesTextures.reserveCapacity(MAX_TEXTURE_ALLOCATION);
m_availableTilesTextures.reserveCapacity(MAX_TEXTURE_ALLOCATION);
m_pixmapsGenerationThread = new TexturesGenerator();
- m_pixmapsGenerationThread->run("TexturesGenerator", android::PRIORITY_BACKGROUND);
+ m_pixmapsGenerationThread->run("TexturesGenerator");
}
void TilesManager::allocateTiles()