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

Unified Diff: android_webview/public/browser/draw_gl.h

Issue 433603005: aw: Add versions to public function tables (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: roll aosp Created 6 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
« no previous file with comments | « android_webview/buildbot/aosp_manifest.xml ('k') | android_webview/public/browser/draw_sw.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4a43523593ac151fd2c67e580dbdfd37be52cb14..d62375fc5bdeac0fd632bd00ff4c86e75667ee15 100644
--- a/android_webview/public/browser/draw_gl.h
+++ b/android_webview/public/browser/draw_gl.h
@@ -86,8 +86,11 @@ typedef void* AwGetNativeBufferFunction(long buffer_id);
// Called to get the stride of the buffer
typedef unsigned int AwGetStrideFunction(long buffer_id);
+static const int kAwDrawGLFunctionTableVersion = 1;
+
// Set of functions used in rendering in hardware mode
struct AwDrawGLFunctionTable {
+ int version;
AwCreateGraphicBufferFunction* create_graphic_buffer;
AwReleaseGraphicBufferFunction* release_graphic_buffer;
AwMapFunction* map;
« no previous file with comments | « android_webview/buildbot/aosp_manifest.xml ('k') | android_webview/public/browser/draw_sw.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698