diff options
author | halcanary <halcanary@google.com> | 2015-09-23 12:40:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-23 12:40:34 -0700 |
commit | ab26a9b427ec7c525ccd0025f19f0c91b74d8f6d (patch) | |
tree | faf1acf3fc409d7a61e23460c960e351bbf7e360 /platform_tools/android/apps/canvasproof/src/main/jni/org_skia_canvasproof_CreateSkiaPicture.h | |
parent | 3420d2796bad5ce553efb9909790ea72e578dc47 (diff) |
android/apps: Add CanvasProof App;
Compare Ganesh and HWUI canvas rendering of SKPs on android.
Put SKP files in .../canvasproof/src/main/assets/skps
Run on a Marshmallow device.
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/1258123004
Diffstat (limited to 'platform_tools/android/apps/canvasproof/src/main/jni/org_skia_canvasproof_CreateSkiaPicture.h')
-rw-r--r-- | platform_tools/android/apps/canvasproof/src/main/jni/org_skia_canvasproof_CreateSkiaPicture.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/platform_tools/android/apps/canvasproof/src/main/jni/org_skia_canvasproof_CreateSkiaPicture.h b/platform_tools/android/apps/canvasproof/src/main/jni/org_skia_canvasproof_CreateSkiaPicture.h new file mode 100644 index 0000000000..2937d549ef --- /dev/null +++ b/platform_tools/android/apps/canvasproof/src/main/jni/org_skia_canvasproof_CreateSkiaPicture.h @@ -0,0 +1,35 @@ +/* + * Copyright 2015 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include <jni.h> +/* Header for class org_skia_canvasproof_CreateSkiaPicture */ + +#ifndef _Included_org_skia_canvasproof_CreateSkiaPicture +#define _Included_org_skia_canvasproof_CreateSkiaPicture +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: org_skia_canvasproof_CreateSkiaPicture + * Method: deleteImpl + * Signature: (J)V + */ +JNIEXPORT void JNICALL Java_org_skia_canvasproof_CreateSkiaPicture_deleteImpl + (JNIEnv *, jclass, jlong); + +/* + * Class: org_skia_canvasproof_CreateSkiaPicture + * Method: createImpl + * Signature: (Ljava/io/InputStream;[B)J + */ +JNIEXPORT jlong JNICALL Java_org_skia_canvasproof_CreateSkiaPicture_createImpl + (JNIEnv *, jclass, jobject, jbyteArray); + +#ifdef __cplusplus +} +#endif +#endif |