The bigger update to Canvas

All draw* calls in Canvas are regular JNI
All draw* calls in DisplayListCanvas are FastNative
Unifies Canvas JNI on nMethodName naming

CanvasPerf results before:
INSTRUMENTATION_STATUS: basicViewGroupDraw_min=12492
INSTRUMENTATION_STATUS: recordSimpleBitmapView_min=13912

and after:
INSTRUMENTATION_STATUS: basicViewGroupDraw_min=11945
INSTRUMENTATION_STATUS: recordSimpleBitmapView_min=13318

Test: refactor, makes & boots
Change-Id: I06000df1d125e17d60c6498865be7a7638a4a13e
This commit is contained in:
John Reck
2016-10-07 13:21:36 -07:00
parent c93a7ef9cb
commit caa08ff5e9
11 changed files with 1951 additions and 1086 deletions

View File

@@ -838,7 +838,8 @@ public class Matrix {
}
/* package */ final long ni() {
/** @hide */
public final long ni() {
return native_instance;
}