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

Side by Side Diff: android_webview/browser/browser_view_renderer.h

Issue 654403006: aw: Ensure invalidation when pipeline is stalled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fallback tick interaction Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_
6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_
7 7
8 #include "android_webview/browser/global_tile_manager.h" 8 #include "android_webview/browser/global_tile_manager.h"
9 #include "android_webview/browser/global_tile_manager_client.h" 9 #include "android_webview/browser/global_tile_manager_client.h"
10 #include "android_webview/browser/parent_compositor_draw_constraints.h" 10 #include "android_webview/browser/parent_compositor_draw_constraints.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // The draw constraints from the parent compositor. These are only used for 209 // The draw constraints from the parent compositor. These are only used for
210 // tiling priority. 210 // tiling priority.
211 ParentCompositorDrawConstraints parent_draw_constraints_; 211 ParentCompositorDrawConstraints parent_draw_constraints_;
212 212
213 // When true, we should continuously invalidate and keep drawing, for example 213 // When true, we should continuously invalidate and keep drawing, for example
214 // to drive animation. This value is set by the compositor and should always 214 // to drive animation. This value is set by the compositor and should always
215 // reflect the expectation of the compositor and not be reused for other 215 // reflect the expectation of the compositor and not be reused for other
216 // states. 216 // states.
217 bool compositor_needs_continuous_invalidate_; 217 bool compositor_needs_continuous_invalidate_;
218 218
219 bool invalidate_after_composite_;
220
219 // Used to block additional invalidates while one is already pending. 221 // Used to block additional invalidates while one is already pending.
220 bool block_invalidates_; 222 bool block_invalidates_;
221 223
222 base::CancelableClosure post_fallback_tick_; 224 base::CancelableClosure post_fallback_tick_;
223 base::CancelableClosure fallback_tick_fired_; 225 base::CancelableClosure fallback_tick_fired_;
224 bool fallback_tick_pending_; 226 bool fallback_tick_pending_;
225 227
226 int width_; 228 int width_;
227 int height_; 229 int height_;
228 230
(...skipping 10 matching lines...) Expand all
239 241
240 GlobalTileManager::Key tile_manager_key_; 242 GlobalTileManager::Key tile_manager_key_;
241 content::SynchronousCompositorMemoryPolicy memory_policy_; 243 content::SynchronousCompositorMemoryPolicy memory_policy_;
242 244
243 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); 245 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer);
244 }; 246 };
245 247
246 } // namespace android_webview 248 } // namespace android_webview
247 249
248 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ 250 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | android_webview/browser/shared_renderer_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698