void GLWebViewState::swapPages() { android::Mutex::Autolock lock(m_tiledPageLock); m_usePageA ^= true; TiledPage* oldPage = m_usePageA ? m_tiledPageB : m_tiledPageA; zoomManager()->swapPages(); oldPage->discardTextures(); }
void GLWebViewState::swapPages() { android::Mutex::Autolock lock(m_tiledPageLock); m_usePageA ^= true; TiledPage* oldPage = m_usePageA ? m_tiledPageB : m_tiledPageA; zoomManager()->swapPages(); oldPage->discardTextures(); //SAMSUNG CHNAGES >> if(mSharpenStartTime != -1){ mSharpenEndTime = WTF::currentTimeMS(); double sharpenTime = (mSharpenEndTime - mSharpenStartTime); XLOGC("Disappearing white area time and Sharpening time after zooming: %.3f milliSecs", sharpenTime ); //XLOGC("White Area time during zooming: %.3f milliSecs", mWhiteAreaTime ); mSharpenStartTime = mSharpenEndTime = -1; } //SAMSUNG CHNAGES << }