Index: android_webview/public/browser/draw_gl.h |
diff --git a/android_webview/public/browser/draw_gl.h b/android_webview/public/browser/draw_gl.h |
index 6409598b2a9e53e9cd56c9986e27a567a8f4604d..4a43523593ac151fd2c67e580dbdfd37be52cb14 100644 |
--- a/android_webview/public/browser/draw_gl.h |
+++ b/android_webview/public/browser/draw_gl.h |
@@ -9,11 +9,15 @@ |
extern "C" { |
#endif |
+static const int kAwDrawGLInfoVersion = 1; |
+ |
// Holds the information required to trigger an OpenGL drawing operation. |
struct AwDrawGLInfo { |
+ int version; // The AwDrawGLInfo this struct was built with. |
hush (inactive)
2014/07/25 18:08:07
where is the version set? I think you need to do t
boliu
2014/07/25 18:11:02
Yes
|
+ |
// Input: tells the draw function what action to perform. |
enum Mode { |
- kModeDraw, |
+ kModeDraw = 0, |
kModeProcess, |
kModeProcessNoContext, |
kModeSync, |