First pass at updating JNI bindings
Hook up collisionDebug, isFullyLoaded, onLowMemory in Android Rename class to styleClass in Java to match iOS Fixed some formatting Fixes #1905 Fixes #1946 Fixes #1263
This commit is contained in:
@@ -17,7 +17,7 @@ namespace android {
|
||||
|
||||
class NativeMapView : public mbgl::View, private mbgl::util::noncopyable {
|
||||
public:
|
||||
NativeMapView(JNIEnv *env, jobject obj, float pixelRatio);
|
||||
NativeMapView(JNIEnv *env, jobject obj, float pixelRatio, int availableProcessors, size_t totalMemory);
|
||||
virtual ~NativeMapView();
|
||||
|
||||
float getPixelRatio() const override;
|
||||
@@ -85,6 +85,9 @@ private:
|
||||
int fbHeight = 0;
|
||||
const float pixelRatio;
|
||||
|
||||
int availableProcessors = 0;
|
||||
size_t totalMemory = 0;
|
||||
|
||||
// Ensure these are initialised last
|
||||
mbgl::SQLiteCache fileCache;
|
||||
mbgl::DefaultFileSource fileSource;
|
||||
|
||||
Reference in New Issue
Block a user