#include <android/log.h>
#include <jni.h>
Go to the source code of this file.
|
JNIEXPORT jint | JNI_OnLoad (JavaVM *vm, void *reserved) |
|
◆ REGISTER_NATIVES
#define REGISTER_NATIVES |
( |
|
class_name | ) |
|
Value:extern int register_jetski_##
class_name(JNIEnv*); \
__android_log_print(ANDROID_LOG_ERROR, "JetSki", \
}
const char *const class_name
Definition at line 11 of file JetSki.cpp.
◆ JNI_OnLoad()
JNIEXPORT jint JNI_OnLoad |
( |
JavaVM * |
vm, |
|
|
void * |
reserved |
|
) |
| |
Definition at line 20 of file JetSki.cpp.
20 {
22 if (vm->GetEnv(
reinterpret_cast<void**
>(&
env), JNI_VERSION_1_6) != JNI_OK) {
23 return JNI_ERR;
24 }
25
45
46 return JNI_VERSION_1_6;
47}
#define REGISTER_NATIVES(class_name)
SK_API sk_sp< PrecompileColorFilter > Matrix()
SK_API sk_sp< PrecompileShader > ColorFilter(SkSpan< const sk_sp< PrecompileShader > > shaders, SkSpan< const sk_sp< PrecompileColorFilter > > colorFilters)
SK_API sk_sp< PrecompileShader > LinearGradient()
SK_API sk_sp< PrecompileShader > RadialGradient()
SK_API sk_sp< PrecompileShader > SweepGradient()
SK_API sk_sp< PrecompileShader > TwoPointConicalGradient()