diff options
Diffstat (limited to 'platform/android/src/native_map_view.hpp')
-rwxr-xr-x | platform/android/src/native_map_view.hpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/platform/android/src/native_map_view.hpp b/platform/android/src/native_map_view.hpp index 0539a29b46..7376f82c24 100755 --- a/platform/android/src/native_map_view.hpp +++ b/platform/android/src/native_map_view.hpp @@ -73,7 +73,10 @@ public: void onSourceChanged(mbgl::style::Source&) override; // Signal the view system, we want to redraw - void invalidate(); + void requestRender(); + + // Request processing on the GL Thread + void requestProcessing(); // JNI // @@ -81,9 +84,10 @@ public: void onSurfaceCreated(jni::JNIEnv&); // Called on OpenGL Thread - void render(jni::JNIEnv&); + void process(jni::JNIEnv&); - void update(jni::JNIEnv&); + // Called on OpenGL Thread + void render(jni::JNIEnv&); void resizeView(jni::JNIEnv&, int, int); |