Changeset 4907 for pjproject


Ignore:
Timestamp:
Aug 26, 2014 10:53:52 AM (10 years ago)
Author:
nanang
Message:

Re #1757: Add iOS video renderer OpenGL macro settings to config.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-videodev/config.h

    r4656 r4907  
    5656 
    5757/** 
     58 * This setting controls whether OpenGL for iOS should be included. 
     59 * 
     60 * Default: 0 (or detected by configure) 
     61 */ 
     62#ifndef PJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL 
     63#  define PJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL      0 
     64#else 
     65#  if defined(PJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL) && \ 
     66              PJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL != 0 
     67#    undef  PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES 
     68#    define PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES     1 
     69#  endif 
     70#endif 
     71 
     72 
     73/** 
     74 * This setting controls whether OpenGL ES support should be included. 
     75 * 
     76 * Default: 0 (or detected by configure) 
     77 */ 
     78#ifndef PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES 
     79#  define PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES       0 
     80#else 
     81#  if defined(PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES) && \ 
     82              PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES != 0 
     83#    undef  PJMEDIA_VIDEO_DEV_HAS_OPENGL 
     84#    define PJMEDIA_VIDEO_DEV_HAS_OPENGL        1 
     85#  endif 
     86#endif 
     87 
     88 
     89/** 
     90 * This setting controls whether OpenGL support should be included. 
     91 * 
     92 * Default: 0 (or detected by configure) 
     93 */ 
     94#ifndef PJMEDIA_VIDEO_DEV_HAS_OPENGL 
     95#   define PJMEDIA_VIDEO_DEV_HAS_OPENGL         0 
     96#endif 
     97 
     98 
     99/** 
    58100 * This setting controls whether SDL support should be included. 
    59101 * 
Note: See TracChangeset for help on using the changeset viewer.