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

Unified Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 348093004: Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: content/browser/renderer_host/compositor_impl_android.h
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h
index e3cc42e1ad56e9b43d6428bb2d67ed5e4bfd885a..ef279026c546ce6197b1be4f650bbb4048d1bb2c 100644
--- a/content/browser/renderer_host/compositor_impl_android.h
+++ b/content/browser/renderer_host/compositor_impl_android.h
@@ -74,8 +74,7 @@ class CONTENT_EXPORT CompositorImpl
virtual void Layout() OVERRIDE;
virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
float page_scale) OVERRIDE {}
- virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
- OVERRIDE;
+ virtual void RequestNewOutputSurface(bool fallback) OVERRIDE;
virtual void DidInitializeOutputSurface() OVERRIDE {}
virtual void WillCommit() OVERRIDE {}
virtual void DidCommit() OVERRIDE;
@@ -106,6 +105,7 @@ class CONTENT_EXPORT CompositorImpl
};
void PostComposite(CompositingTrigger trigger);
void Composite(CompositingTrigger trigger);
+ void CreateOutputSurface(bool fallback);
bool WillCompositeThisFrame() const {
return current_composite_task_ &&

Powered by Google App Engine
This is Rietveld 408576698