summaryrefslogtreecommitdiffstats
path: root/core/jni/AndroidRuntime.cpp
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2014-05-07 11:48:37 -0400
committerLeon Scroggins III <scroggo@google.com>2014-05-15 10:17:44 -0400
commit4c9355c35a0f62805739823a62ad41ca1cbc6502 (patch)
tree718b7f1f91f9c5186473bc174f5bb74e9a359615 /core/jni/AndroidRuntime.cpp
parent27a964b54d10bbc2793bb06557f69fef47177ebd (diff)
downloadframeworks_base-4c9355c35a0f62805739823a62ad41ca1cbc6502.zip
frameworks_base-4c9355c35a0f62805739823a62ad41ca1cbc6502.tar.gz
frameworks_base-4c9355c35a0f62805739823a62ad41ca1cbc6502.tar.bz2
Frameworks changes to support latest Skia (r14729)
Required for a merge in external/skia (I88b4d5cc81c357a8e223bd7860b1029590265200). Includes two cherry-picks: I456df543e1925b280f785c7b3bb81370157f9b09: replace SkRasterizer* with NativeRasterizer* in JNI I98adb200e023369d3ee75f21927fa98f23095a77: Fix Paint.getFlags,setFlags wrt FILTER_BITMAP_FLAG In Paint.setFlags(), turn FILTER_BITMAP_FLAG into a call to SkPaint::setFilterLevel(). In Paint.getFlags(), read SkPaint::getFilterLevel() to determine whether to include FILTER_BITMAP_FLAG in the result. Fixes CTS tests with ToT Skia. Change-Id: I2736f3f68683651574d79a169ff0ab563e0a469e
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
-rw-r--r--core/jni/AndroidRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp
index 767439a..f41af04 100644
--- a/core/jni/AndroidRuntime.cpp
+++ b/core/jni/AndroidRuntime.cpp
@@ -56,7 +56,6 @@ extern int register_android_graphics_Camera(JNIEnv* env);
extern int register_android_graphics_CreateJavaOutputStreamAdaptor(JNIEnv* env);
extern int register_android_graphics_Graphics(JNIEnv* env);
extern int register_android_graphics_Interpolator(JNIEnv* env);
-extern int register_android_graphics_LayerRasterizer(JNIEnv*);
extern int register_android_graphics_MaskFilter(JNIEnv* env);
extern int register_android_graphics_Movie(JNIEnv* env);
extern int register_android_graphics_NinePatch(JNIEnv*);
@@ -109,6 +108,7 @@ extern int register_android_graphics_CanvasProperty(JNIEnv* env);
extern int register_android_graphics_ColorFilter(JNIEnv* env);
extern int register_android_graphics_DrawFilter(JNIEnv* env);
extern int register_android_graphics_FontFamily(JNIEnv* env);
+extern int register_android_graphics_LayerRasterizer(JNIEnv*);
extern int register_android_graphics_Matrix(JNIEnv* env);
extern int register_android_graphics_Paint(JNIEnv* env);
extern int register_android_graphics_Path(JNIEnv* env);