This source file includes following definitions.
- RegisterJni
#include "ui/gl/android/gl_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "ui/gl/android/surface_texture.h"
#include "ui/gl/android/surface_texture_listener.h"
namespace ui {
namespace gl {
namespace android {
static base::android::RegistrationMethod kGLRegisteredMethods[] = {
{ "SurfaceTexture",
gfx::SurfaceTexture::RegisterSurfaceTexture },
{ "SurfaceTextureListener",
gfx::SurfaceTextureListener::RegisterSurfaceTextureListener },
};
bool RegisterJni(JNIEnv* env) {
return RegisterNativeMethods(env, kGLRegisteredMethods,
arraysize(kGLRegisteredMethods));
}
}
}
}