Files
MapLibreParticleLab/platform/android/MapLibreAndroid/src/cpp/rendering_stats.hpp
Adrian Cojocaru 2a7249a3b0 Rendering statistics view (#3322)
Co-authored-by: Bart Louwers <bart@emeel.net>
2025-06-03 17:59:51 +02:00

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