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

Unified Diff: content/browser/android/synchronous_compositor_host.h

Issue 2457333002: sync compositor: Keep draw after ComputeScroll synchronous (Closed)
Patch Set: Created 4 years, 2 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 | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/synchronous_compositor_host.h
diff --git a/content/browser/android/synchronous_compositor_host.h b/content/browser/android/synchronous_compositor_host.h
index 93bfb8e87124eb0698e9e7aa8baa39e8884e34b5..b112ae9390d11151004259f17a1e65e97178e3a5 100644
--- a/content/browser/android/synchronous_compositor_host.h
+++ b/content/browser/android/synchronous_compositor_host.h
@@ -111,6 +111,9 @@ class SynchronousCompositorHost : public SynchronousCompositor {
size_t bytes_limit_;
std::unique_ptr<SharedMemoryWithSize> software_draw_shm_;
+ // Indicates the next draw needs to be synchronous
+ bool compute_scroll_needs_synchronous_draw_ = false;
+
// Updated by both renderer and browser.
gfx::ScrollOffset root_scroll_offset_;
« no previous file with comments | « no previous file | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698