Exemple #1
0
 static void n_OnSurfaceCreated_Ljavax_microedition_khronos_opengles_GL10_Ljavax_microedition_khronos_egl_EGLConfig_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Baidu.Platform.Comapi.Map.MapRenderer __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Platform.Comapi.Map.MapRenderer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Javax.Microedition.Khronos.Opengles.IGL10 p0     = (global::Javax.Microedition.Khronos.Opengles.IGL10)global::Java.Lang.Object.GetObject <global::Javax.Microedition.Khronos.Opengles.IGL10> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Javax.Microedition.Khronos.Egl.EGLConfig  p1     = global::Java.Lang.Object.GetObject <global::Javax.Microedition.Khronos.Egl.EGLConfig> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.OnSurfaceCreated(p0, p1);
 }
Exemple #2
0
 static void n_OnSurfaceCreated_Ljavax_microedition_khronos_opengles_GL10_Ljavax_microedition_khronos_egl_EGLConfig_(IntPtr jnienv, IntPtr native__this, IntPtr native_gl, IntPtr native_config)
 {
     global::Com.Mapbox.Mapboxsdk.Maps.Renderer.MapRenderer __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Maps.Renderer.MapRenderer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Javax.Microedition.Khronos.Opengles.IGL10      gl     = (global::Javax.Microedition.Khronos.Opengles.IGL10)global::Java.Lang.Object.GetObject <global::Javax.Microedition.Khronos.Opengles.IGL10> (native_gl, JniHandleOwnership.DoNotTransfer);
     global::Javax.Microedition.Khronos.Egl.EGLConfig       config = global::Java.Lang.Object.GetObject <global::Javax.Microedition.Khronos.Egl.EGLConfig> (native_config, JniHandleOwnership.DoNotTransfer);
     __this.OnSurfaceCreated(gl, config);
 }
Exemple #3
0
        public virtual unsafe void OnSurfaceCreated(global::Javax.Microedition.Khronos.Opengles.IGL10 p0, global::Javax.Microedition.Khronos.Egl.EGLConfig p1)
        {
            if (id_onSurfaceCreated_Ljavax_microedition_khronos_opengles_GL10_Ljavax_microedition_khronos_egl_EGLConfig_ == IntPtr.Zero)
            {
                id_onSurfaceCreated_Ljavax_microedition_khronos_opengles_GL10_Ljavax_microedition_khronos_egl_EGLConfig_ = JNIEnv.GetMethodID(class_ref, "onSurfaceCreated", "(Ljavax/microedition/khronos/opengles/GL10;Ljavax/microedition/khronos/egl/EGLConfig;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_onSurfaceCreated_Ljavax_microedition_khronos_opengles_GL10_Ljavax_microedition_khronos_egl_EGLConfig_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onSurfaceCreated", "(Ljavax/microedition/khronos/opengles/GL10;Ljavax/microedition/khronos/egl/EGLConfig;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void OnSurfaceCreated(global::Javax.Microedition.Khronos.Opengles.IGL10 p0, global::Javax.Microedition.Khronos.Egl.EGLConfig p1)
        {
            const string __id = "onSurfaceCreated.(Ljavax/microedition/khronos/opengles/GL10;Ljavax/microedition/khronos/egl/EGLConfig;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }