Ignore:
Timestamp:
Sep 24, 2014 4:01:34 AM (10 years ago)
Author:
ming
Message:

Re #1790: Initial basic implementation of Android OpenGL renderer

To use it, app has to specify PJMEDIA_HAS_VIDEO to 1

File:
1 edited

Legend:

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

    r4907 r4928  
    7272 
    7373/** 
     74 * This setting controls whether OpenGL for Android should be included. 
     75 * 
     76 * Default: 0 (or detected by configure) 
     77 */ 
     78#ifndef PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL 
     79#  define PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL  0 
     80#else 
     81#  if defined(PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL) && \ 
     82              PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL != 0 
     83#    undef  PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES 
     84#    define PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES     1 
     85#  endif 
     86#endif 
     87 
     88 
     89/** 
    7490 * This setting controls whether OpenGL ES support should be included. 
    7591 * 
Note: See TracChangeset for help on using the changeset viewer.