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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 13135004: android_webview: changes to support Android GraphicBuffers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetStride() API on the GraphicBuffer Created 7 years, 9 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: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 638588125af5b8d97f105d437213e66199ef0c5d..14e82a9a1b11e372ce9a33eba16f9fa1cbdb9fc8 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -348,6 +348,10 @@ public class AwContents {
nativeSetAwDrawSWFunctionTable(functionTablePointer);
}
+ public static void setAwDrawGLFunctionTable(int functionTablePointer) {
+ nativeSetAwDrawGLFunctionTable(functionTablePointer);
+ }
+
public static int getAwDrawGLFunction() {
return nativeGetAwDrawGLFunction();
}
@@ -1325,6 +1329,7 @@ public class AwContents {
AwContentsClientBridge contentsClientBridge);
private static native void nativeDestroy(int nativeAwContents);
private static native void nativeSetAwDrawSWFunctionTable(int functionTablePointer);
+ private static native void nativeSetAwDrawGLFunctionTable(int functionTablePointer);
private static native int nativeGetAwDrawGLFunction();
private native int nativeGetWebContents(int nativeAwContents);

Powered by Google App Engine
This is Rietveld 408576698