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

Unified Diff: cc/output/direct_renderer.cc

Issue 2908313002: Revert of gpu: Use ANDROID_native_fence_sync instead of ARM_implicit_external_sync. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | components/exo/wayland/clients/client_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 18259fe7ebc08ef72c226efd789b3108957d6775..5339f829c2b2b0af105efb910e636f5b47907b0c 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -97,6 +97,10 @@
allow_empty_swap_ = true;
if (context_provider->ContextCapabilities().dc_layers)
supports_dc_layers_ = true;
+ if (context_provider->ContextCapabilities()
+ .disable_non_empty_post_sub_buffers) {
+ use_partial_swap_ = false;
+ }
}
initialized_ = true;
« no previous file with comments | « no previous file | components/exo/wayland/clients/client_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698