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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 737903003: cc: Don't make one copy rasterizer require sync query (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_one_copy_unit_tests
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | 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 bb1be9856d093663f5533a2c4a6cff40c0a50cfd..4ed73d4f0281ffdbaf3dc98759163a31a03970df 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2058,9 +2058,7 @@ bool LayerTreeHostImpl::CanUseZeroCopyRasterizer() const {
}
bool LayerTreeHostImpl::CanUseOneCopyRasterizer() const {
- // Sync query support is required by one-copy rasterizer.
- return GetRendererCapabilities().using_image &&
- resource_provider_->use_sync_query();
+ return GetRendererCapabilities().using_image;
}
void LayerTreeHostImpl::EnforceZeroBudget(bool zero_budget) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698