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

Unified Diff: android_webview/browser/browser_view_renderer.h

Issue 1428263003: Remove fallback tick software draw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: android_webview/browser/browser_view_renderer.h
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index 21c28c8f97da3ef4ad14aef6cfa08917f44ece72..afaecbcdeca96c532c87266e985e36cd1daefe14 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -120,11 +120,6 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient {
private:
void SetTotalRootLayerScrollOffset(const gfx::Vector2dF& new_value_dip);
bool CanOnDraw();
- // Posts an invalidate with fallback tick. All invalidates posted while an
- // invalidate is pending will be posted as a single invalidate after the
- // pending invalidate is done.
- void PostInvalidateWithFallback();
- void CancelFallbackTick();
void UpdateCompositorIsActive();
bool CompositeSW(SkCanvas* canvas);
scoped_refptr<base::trace_event::ConvertableToTraceFormat>
@@ -142,11 +137,6 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient {
void PostFallbackTick();
void FallbackTickFired();
- // Force invoke the compositor to run produce a 1x1 software frame that is
- // immediately discarded. This is a hack to force invoke parts of the
- // compositor that are not directly exposed here.
- void ForceFakeCompositeSW();
-
gfx::Vector2d max_scroll_offset() const;
void UpdateMemoryPolicy();
@@ -179,10 +169,6 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient {
gfx::Vector2d last_on_draw_scroll_offset_;
gfx::Rect last_on_draw_global_visible_rect_;
- base::CancelableClosure post_fallback_tick_;
- base::CancelableClosure fallback_tick_fired_;
- bool fallback_tick_pending_;
-
gfx::Size size_;
gfx::SizeF scrollable_size_dip_;

Powered by Google App Engine
This is Rietveld 408576698