13static void Path_Release(JNIEnv*
env, jobject, jlong native_path) {
14 delete reinterpret_cast<SkPath*
>(native_path);
20 static const JNINativeMethod methods[] = {
21 {
"nRelease" ,
"(J)V" ,
reinterpret_cast<void*
>(Path_Release)},
24 const auto clazz =
env->FindClass(
"org/skia/jetski/Path");
26 ?
env->RegisterNatives(clazz, methods,
std::size(methods))
int register_jetski_Path(JNIEnv *env)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size