23 lines
539 B
C++
23 lines
539 B
C++
#pragma once
|
|
|
|
#include <mbgl/gfx/rendering_stats.hpp>
|
|
|
|
#include <string>
|
|
#include <jni.h>
|
|
#include <jni/jni.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace android {
|
|
|
|
class RenderingStats {
|
|
public:
|
|
static constexpr auto Name() { return "org/maplibre/android/maps/RenderingStats"; };
|
|
static void registerNative(jni::JNIEnv& env);
|
|
|
|
static jni::Local<jni::Object<RenderingStats>> Create(jni::JNIEnv&);
|
|
static void Update(jni::JNIEnv&, jni::Object<RenderingStats>&, const gfx::RenderingStats&);
|
|
};
|
|
|
|
} // namespace android
|
|
} // namespace mbgl
|