Bug 794981 - Part 1: Annotate Java methods that are to have JNI wrappers generated. r=kats
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user