Merge pull request #2179 from mapbox/node

Node bindings
This commit is contained in:
Mike Morris
2015-09-02 15:46:43 -04:00
42 changed files with 2357 additions and 17 deletions

View File

@@ -159,7 +159,11 @@ void NativeMapView::invalidate() {
detach_jni_thread(vm, &env, detach);
}
void NativeMapView::swap() {
void NativeMapView::beforeRender() {
// no-op
}
void NativeMapView::afterRender() {
mbgl::Log::Debug(mbgl::Event::Android, "NativeMapView::swap");
if ((display != EGL_NO_DISPLAY) && (surface != EGL_NO_SURFACE)) {