summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2013-01-10 01:13:23 +1100
committerSebastian Dröge <slomo@circular-chaos.org>2013-06-29 10:06:41 +0200
commitbff8e223b228d7728c33bc6417cedc3e490f60a9 (patch)
tree544e8c2712b6a5a137b35b27fc0a09f2b8ef2415 /tests
parent06022355483b7a5eff327f493d55b197c22a5371 (diff)
add gstglconfig.h for apps to find out what our capabilites are
ie libgstgl can be compiled with any combination of opengl/gles2
Diffstat (limited to 'tests')
-rw-r--r--tests/check/pipelines/simple-launch-lines.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/check/pipelines/simple-launch-lines.c b/tests/check/pipelines/simple-launch-lines.c
index bf46c3a..65f4e8a 100644
--- a/tests/check/pipelines/simple-launch-lines.c
+++ b/tests/check/pipelines/simple-launch-lines.c
@@ -131,7 +131,7 @@ GST_START_TEST (test_glfiltercube)
}
GST_END_TEST
-#ifdef OPENGL_ES2
+#if GST_GL_HAVE_GLES2
# define N_EFFECTS 3
#else
# define N_EFFECTS 16
@@ -154,7 +154,7 @@ GST_START_TEST (test_gleffects)
GST_END_TEST
#undef N_EFFECTS
-#if HAVE_OPENGL
+#if GST_GL_HAVE_OPENGL
#define N_SRCS 13
GST_START_TEST (test_gltestsrc)
{
@@ -311,7 +311,7 @@ GST_START_TEST (test_glfilterapp)
GST_END_TEST
#endif /* 0 */
-#endif /* HAVE_OPENGL */
+#endif /* GST_GL_HAVE_OPENGL */
#endif /* !GST_DISABLE_PARSE */
Suite * simple_launch_lines_suite (void)
{
@@ -326,7 +326,7 @@ GST_END_TEST
tcase_add_test (tc_chain, test_glimagesink);
tcase_add_test (tc_chain, test_glfiltercube);
tcase_add_test (tc_chain, test_gleffects);
-#if HAVE_OPENGL
+#if GST_GL_HAVE_OPENGL
tcase_add_test (tc_chain, test_gltestsrc);
tcase_add_test (tc_chain, test_glfilterblur);
tcase_add_test (tc_chain, test_glfiltersobel);
@@ -345,7 +345,7 @@ GST_END_TEST
#endif /* HAVE_JPEG */
#endif /* HAVE_PNG */
#endif
-#endif /* HAVE_OPENGL */
+#endif /* GST_GL_HAVE_OPENGL */
#endif /* !GST_DISABLE_PARSE */
return s;
}