Index: content/public/browser/android/synchronous_compositor.h |
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h |
index f380b0e3e5f43063383f3ddbc67152764ffbc7a0..b0605661d8eac0b4ea9c9b3741633b68e3513941 100644 |
--- a/content/public/browser/android/synchronous_compositor.h |
+++ b/content/public/browser/android/synchronous_compositor.h |
@@ -36,14 +36,14 @@ class SynchronousCompositor { |
// the caller. |
virtual void SetClient(SynchronousCompositorClient* client) = 0; |
- // Returns true if the compositor is fully initialized and ready to receive |
- // calls to DemandDrawHw(). |
- virtual bool IsHwReady() = 0; |
- |
// "On demand" SW draw, into the supplied canvas (observing the transform |
// and clip set there-in). |
virtual bool DemandDrawSw(SkCanvas* canvas) = 0; |
joth
2013/06/07 01:08:03
ubernit : could you instead move this to last so t
|
+ // One-time synchronously initialize compositor for hardware draw. |
+ // It is invalid to DemandDrawHw before this returns true. |
+ virtual bool InitializeHwDraw() = 0; |
+ |
// "On demand" hardware draw. The content is first clipped to |damage_area|, |
// then transformed through |transform|, and finally clipped to |view_size|. |
virtual bool DemandDrawHw( |