Bug 794981 - Part 1: Annotate Java methods that are to have JNI wrappers generated. r=kats

This commit is contained in:
Chris Kitching
2013-09-09 08:57:36 -04:00
parent 9583a33929
commit f123455a1a
10 changed files with 175 additions and 13 deletions

View File

@@ -8,6 +8,7 @@ package org.mozilla.gecko.gfx;
import org.mozilla.gecko.GeckoAppShell;
import org.mozilla.gecko.GeckoEvent;
import org.mozilla.gecko.GeckoThread;
import org.mozilla.gecko.mozglue.GeneratableAndroidBridgeTarget;
import org.mozilla.gecko.util.ThreadUtils;
import android.util.Log;
@@ -262,7 +263,7 @@ public class GLController {
throw new GLControllerException("No suitable EGL configuration found");
}
/* This function is invoked by JNI on the compositor thread */
@GeneratableAndroidBridgeTarget(allowMultithread = true, stubName = "ProvideEGLSurfaceWrapper")
private EGLSurface provideEGLSurface() {
return mEGLSurface;
}