Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2234)

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 124063003: [NOT FOR COMMIT] Hacks to get hardware canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only cc changes left Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 346b89406e7e240e1ae92d37a9a93b488e1da678..d764c2b567cbc05e9859dac022760c7574b95802 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1844,6 +1844,7 @@ bool LayerTreeHostImpl::DeferredInitialize(
if (success) {
EnforceZeroBudget(false);
+ client_->UpdateRendererCapabilitiesOnImplThread();
client_->SetNeedsCommitOnImplThread();
} else {
if (offscreen_context_provider.get()) {
@@ -1896,6 +1897,7 @@ void LayerTreeHostImpl::ReleaseGL() {
SetOffscreenContextProvider(NULL);
+ client_->UpdateRendererCapabilitiesOnImplThread();
client_->SetNeedsCommitOnImplThread();
}
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698