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

Unified Diff: content/browser/android/graphics_context.h

Issue 10828356: Very basic Android browser-side compositing support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/android/graphics_context.h
diff --git a/content/public/browser/android/graphics_context.h b/content/browser/android/graphics_context.h
similarity index 79%
rename from content/public/browser/android/graphics_context.h
rename to content/browser/android/graphics_context.h
index a8d828580c1fff2481922f789f00a9a223be4cbb..cb9c276204badd64bee223e302a1d9afa633f21d 100644
--- a/content/public/browser/android/graphics_context.h
+++ b/content/browser/android/graphics_context.h
@@ -19,11 +19,15 @@ class GraphicsContext {
public:
virtual ~GraphicsContext() { }
- // Create a UI graphics context that renders to the given surface.
+ // Create and returns a graphics context on the caller's thread and
+ // also creates an image transport surface associated with the given
+ // parent window.
static GraphicsContext* CreateForUI(ANativeWindow* ui_window);
virtual WebKit::WebGraphicsContext3D* GetContext3D() = 0;
klobag.chromium 2012/08/22 07:01:19 Who is calling this one now?
no sievers 2012/08/22 21:17:40 removed On 2012/08/22 07:01:19, klobag.chromium wr
virtual uint32 InsertSyncPoint() = 0;
+
+ virtual int GetSurfaceID() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698