Ignore:
Timestamp:
Apr 8, 2014 9:03:35 AM (8 years ago)
Author:
ming
Message:

Re #1757: Initial implementation of iOS OpenGL ES renderer. To use it, application needs to add:
#define PJMEDIA_VIDEO_DEV_HAS_OPENGL 1
#define PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES 1
#define PJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL 1

File:
1 edited

Legend:

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

    r4016 r4812  
    9696#if PJMEDIA_VIDEO_DEV_HAS_IOS 
    9797pjmedia_vid_dev_factory* pjmedia_ios_factory(pj_pool_factory *pf); 
     98#endif 
     99 
     100#if PJMEDIA_VIDEO_DEV_HAS_OPENGL 
     101pjmedia_vid_dev_factory* pjmedia_opengl_factory(pj_pool_factory *pf); 
    98102#endif 
    99103 
     
    381385    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_ios_factory; 
    382386#endif 
     387#if PJMEDIA_VIDEO_DEV_HAS_OPENGL 
     388    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_opengl_factory; 
     389#endif 
    383390#if PJMEDIA_VIDEO_DEV_HAS_DSHOW 
    384391    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_dshow_factory; 
Note: See TracChangeset for help on using the changeset viewer.