Ignore:
Timestamp:
Mar 22, 2015 8:53:03 AM (10 years ago)
Author:
nanang
Message:

Re #1790:

  • Removed android_opengl_get_surface() for renderer view setup, Java application can directly supply Surface object as renderer window.
  • Added renderer view on pjsua CLI app sample.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/android_opengl.c

    r5007 r5014  
    137137}; 
    138138 
    139 static void get_jvm(JNIEnv **jni_env) 
    140 { 
    141     (*pj_jni_jvm)->GetEnv(pj_jni_jvm, (void **)jni_env, JNI_VERSION_1_4); 
    142 } 
    143  
    144 void* android_opengl_get_surface(jobject surface) 
    145 { 
    146     JNIEnv *env = 0; 
    147     get_jvm(&env); 
    148     return ((env && surface)? ANativeWindow_fromSurface(env, surface): NULL); 
    149 } 
    150  
    151139int pjmedia_vid_dev_opengl_imp_get_cap(void) 
    152140{ 
Note: See TracChangeset for help on using the changeset viewer.