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

Unified Diff: cc/trees/thread_proxy.cc

Issue 17504006: GPU process clients can perform a "shallow" finish. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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
Index: cc/trees/thread_proxy.cc
===================================================================
--- cc/trees/thread_proxy.cc (revision 207109)
+++ cc/trees/thread_proxy.cc (working copy)
@@ -1215,8 +1215,9 @@
void ThreadProxy::FinishGLOnImplThread(CompletionEvent* completion) {
TRACE_EVENT0("cc", "ThreadProxy::FinishGLOnImplThread");
DCHECK(IsImplThread());
- if (layer_tree_host_impl_->resource_provider())
- layer_tree_host_impl_->resource_provider()->Finish();
+ // Can this be a flush?
piman 2013/06/21 02:31:10 I think this can be a shallow finish. The idea her
+ //if (layer_tree_host_impl_->resource_provider())
+ // layer_tree_host_impl_->resource_provider()->Finish();
completion->Signal();
}

Powered by Google App Engine
This is Rietveld 408576698