summaryrefslogtreecommitdiffstats
path: root/android_webview/java
diff options
context:
space:
mode:
authorkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-08 20:38:15 +0000
committerkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-08 20:38:15 +0000
commit73ae0f3ea90c5913d66f88b69b4c0c62bec48781 (patch)
tree0037c030e2b2761cd1dc907692a6a9f6d366ffd2 /android_webview/java
parent95051d774a3f4e8266bb75310db5d9e053134a0a (diff)
downloadchromium_src-73ae0f3ea90c5913d66f88b69b4c0c62bec48781.zip
chromium_src-73ae0f3ea90c5913d66f88b69b4c0c62bec48781.tar.gz
chromium_src-73ae0f3ea90c5913d66f88b69b4c0c62bec48781.tar.bz2
android_webview: changes to support Android GraphicBuffers
BUG=175012 Review URL: https://chromiumcodereview.appspot.com/13135004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/java')
-rw-r--r--android_webview/java/src/org/chromium/android_webview/AwContents.java7
1 files changed, 6 insertions, 1 deletions
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 b5d4e8d..bbf7101 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -348,6 +348,10 @@ public class AwContents {
nativeSetAwDrawSWFunctionTable(functionTablePointer);
}
+ public static void setAwDrawGLFunctionTable(int functionTablePointer) {
+ nativeSetAwDrawGLFunctionTable(functionTablePointer);
+ }
+
public static int getAwDrawGLFunction() {
return nativeGetAwDrawGLFunction();
}
@@ -1304,6 +1308,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);