summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia-videodev/config.h
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2014-09-24 04:01:34 +0000
committerLiong Sauw Ming <ming@teluu.com>2014-09-24 04:01:34 +0000
commit4d9808a6a48bd7ad4617709a2a1dbb6891deb963 (patch)
treec371e06b95eaabd5ddce3a5a96b5b47d8a7ee388 /pjmedia/include/pjmedia-videodev/config.h
parent76631c2519ae0dc653828d2eda184271cedd5aae (diff)
Re #1790: Initial basic implementation of Android OpenGL renderer
To use it, app has to specify PJMEDIA_HAS_VIDEO to 1 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4928 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include/pjmedia-videodev/config.h')
-rw-r--r--pjmedia/include/pjmedia-videodev/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia-videodev/config.h b/pjmedia/include/pjmedia-videodev/config.h
index f11485f0..85c7415e 100644
--- a/pjmedia/include/pjmedia-videodev/config.h
+++ b/pjmedia/include/pjmedia-videodev/config.h
@@ -71,6 +71,22 @@ PJ_BEGIN_DECL
/**
+ * This setting controls whether OpenGL for Android should be included.
+ *
+ * Default: 0 (or detected by configure)
+ */
+#ifndef PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL
+# define PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL 0
+#else
+# if defined(PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL) && \
+ PJMEDIA_VIDEO_DEV_HAS_ANDROID_OPENGL != 0
+# undef PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES
+# define PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES 1
+# endif
+#endif
+
+
+/**
* This setting controls whether OpenGL ES support should be included.
*
* Default: 0 (or detected by configure)