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

Unified Diff: content/public/renderer/android/synchronous_compositor.h

Issue 14888002: Android WebView Merged-Thread Hardware Draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move in-process input handler into AwRenderView[Host]Ext Created 7 years, 7 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/public/renderer/android/synchronous_compositor.h
diff --git a/content/public/renderer/android/synchronous_compositor.h b/content/public/renderer/android/synchronous_compositor.h
index f0c380d07af84e97862475125f3e04ff666f21ed..e5e76f5b9a91de1b803ed3b3284de499ac954021 100644
--- a/content/public/renderer/android/synchronous_compositor.h
+++ b/content/public/renderer/android/synchronous_compositor.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_
#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_
+#include "ui/gfx/rect.h"
+
class SkCanvas;
namespace content {
@@ -26,6 +28,9 @@ class SynchronousCompositor {
// and clip set there-in).
virtual bool DemandDrawSw(SkCanvas* canvas) = 0;
+ // "On demand" hardware draw.
+ virtual bool DemandDrawHw(gfx::Rect damage_rect) = 0;
jamesr 2013/05/07 18:06:41 are we supposed to get a transform/clip?
boliu 2013/05/07 19:18:44 Yep: clip/damage_rect, transform, view size. Passi
+
protected:
virtual ~SynchronousCompositor() {}
};

Powered by Google App Engine
This is Rietveld 408576698