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

Unified Diff: ui/gfx/gl/gl_surface.h

Issue 8588059: Upstream: GL implementation on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address the comments Created 9 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: ui/gfx/gl/gl_surface.h
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h
index 150182e8ed1fd29fd007e98fa5b7ede90f9e6dc4..3c0e847be3b7ba37ba09bd78f41fc682b57462cd 100644
--- a/ui/gfx/gl/gl_surface.h
+++ b/ui/gfx/gl/gl_surface.h
@@ -12,6 +12,20 @@
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/size.h"
+#if defined(OS_ANDROID)
+#include <android/native_window.h>
+
+// This is a wrapper object to pass ANativeWindow handles around when running
+// in SurfaceTexture mode.
+class AndroidNativeWindowInterface {
jonathan.backer 2011/11/21 18:54:45 I don't see where this is referenced in this CL? M
michaelbai 2011/11/21 19:29:04 OK, Removed
+ public:
+ virtual ~AndroidNativeWindowInterface() {}
+
+ virtual ANativeWindow* GetNativeHandle() const = 0;
+};
+
+#endif
+
namespace gfx {
class GLContext;

Powered by Google App Engine
This is Rietveld 408576698