Commit 5d502f8c authored by reveman@chromium.org's avatar reveman@chromium.org

cc: Disable partial updates when impl-side painting is used.

This prevents us from updating textures currently in use by active
tree before tree activation.

BUG=173886


Review URL: https://chromiumcodereview.appspot.com/12185008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182218 0039d316-1c4b-4281-b951-d872f2087c98
parent 517ea151
...@@ -157,7 +157,7 @@ void LayerTreeHost::initializeRenderer() ...@@ -157,7 +157,7 @@ void LayerTreeHost::initializeRenderer()
// Update m_settings based on partial update capability. // Update m_settings based on partial update capability.
size_t maxPartialTextureUpdates = 0; size_t maxPartialTextureUpdates = 0;
if (m_proxy->rendererCapabilities().allowPartialTextureUpdates) if (m_proxy->rendererCapabilities().allowPartialTextureUpdates && !m_settings.implSidePainting)
maxPartialTextureUpdates = std::min(m_settings.maxPartialTextureUpdates, m_proxy->maxPartialTextureUpdates()); maxPartialTextureUpdates = std::min(m_settings.maxPartialTextureUpdates, m_proxy->maxPartialTextureUpdates());
m_settings.maxPartialTextureUpdates = maxPartialTextureUpdates; m_settings.maxPartialTextureUpdates = maxPartialTextureUpdates;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment