[android] schedule work on the gl thread using GLSurfaceView#queueEvent
This commit is contained in:
committed by
Ivo van Dongen
parent
347d7c19c0
commit
15a47d116a
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user