diff options
author | Jonathan Dixon <joth@google.com> | 2012-12-21 22:10:09 -0800 |
---|---|---|
committer | Jonathan Dixon <joth@google.com> | 2012-12-24 16:28:57 -0800 |
commit | 8a8a1f9b5ea238437196790b89f4dbec78fda4e9 (patch) | |
tree | 6950cf08d709f60d2109d4d82feb186b6197ced5 /chromium/plat_support/jni_entry_point.cpp | |
parent | 037e86f2095d1ca3fc1dff8e4ee82457257e8ea0 (diff) | |
download | webview-8a8a1f9b5ea238437196790b89f4dbec78fda4e9.tar.gz |
Connect up DrawSW interface
Depends on https://codereview.chromium.org/11665020
Provides the underlying code with direct access to native bitmap
pixels that back the java Canvas.
Change-Id: Ie9e6a28213167e0e7eaf9d91668466935d14fe38
Diffstat (limited to 'chromium/plat_support/jni_entry_point.cpp')
-rw-r--r-- | chromium/plat_support/jni_entry_point.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/plat_support/jni_entry_point.cpp b/chromium/plat_support/jni_entry_point.cpp index 6293fa5..4771be1 100644 --- a/chromium/plat_support/jni_entry_point.cpp +++ b/chromium/plat_support/jni_entry_point.cpp @@ -22,6 +22,7 @@ namespace android { void RegisterDrawGLFunctor(JNIEnv* env); +void RegisterGraphicsUtils(JNIEnv* env); } // namespace android @@ -30,6 +31,7 @@ JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { jint ret = vm->AttachCurrentThread(&env, NULL); LOG_ALWAYS_FATAL_IF(ret != JNI_OK, "AttachCurrentThread failed"); android::RegisterDrawGLFunctor(env); + android::RegisterGraphicsUtils(env); return JNI_VERSION_1_4; } |