• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# dEQP-EGL
2
3set(DEQP_EGL_SRCS
4	teglAndroidUtil.cpp
5	teglAndroidUtil.hpp
6	teglApiCase.cpp
7	teglApiCase.hpp
8	teglChooseConfigReference.cpp
9	teglChooseConfigReference.hpp
10	teglChooseConfigTests.cpp
11	teglChooseConfigTests.hpp
12	teglQueryConfigTests.cpp
13	teglQueryConfigTests.hpp
14	teglColorClearCase.cpp
15	teglColorClearCase.hpp
16	teglColorClearTests.cpp
17	teglColorClearTests.hpp
18	teglConfigList.cpp
19	teglConfigList.hpp
20	teglCreateContextTests.cpp
21	teglCreateContextTests.hpp
22	teglQueryContextTests.cpp
23	teglQueryContextTests.hpp
24	teglCreateSurfaceTests.cpp
25	teglCreateSurfaceTests.hpp
26	teglQuerySurfaceTests.cpp
27	teglQuerySurfaceTests.hpp
28	teglGetProcAddressTests.cpp
29	teglGetProcAddressTests.hpp
30	teglGLES1RenderUtil.cpp
31	teglGLES1RenderUtil.hpp
32	teglGLES2RenderUtil.cpp
33	teglGLES2RenderUtil.hpp
34	teglImageUtil.cpp
35	teglImageUtil.hpp
36	teglImageTests.cpp
37	teglImageTests.hpp
38	teglInfoTests.cpp
39	teglInfoTests.hpp
40	teglNegativeApiTests.cpp
41	teglNegativeApiTests.hpp
42	teglRenderCase.cpp
43	teglRenderCase.hpp
44	teglRenderTests.cpp
45	teglRenderTests.hpp
46	teglSimpleConfigCase.cpp
47	teglSimpleConfigCase.hpp
48	teglTestCase.cpp
49	teglTestCase.hpp
50	teglTestPackage.cpp
51	teglTestPackage.hpp
52	teglVGRenderUtil.cpp
53	teglVGRenderUtil.hpp
54	teglImageFormatTests.hpp
55	teglImageFormatTests.cpp
56	teglGLES2SharingTests.hpp
57	teglGLES2SharingTests.cpp
58	teglGLES2SharingThreadedTests.hpp
59	teglGLES2SharingThreadedTests.cpp
60	teglSyncTests.hpp
61	teglSyncTests.cpp
62	teglMultiThreadTests.hpp
63	teglMultiThreadTests.cpp
64	teglMemoryStressTests.hpp
65	teglMemoryStressTests.cpp
66	teglMakeCurrentPerfTests.hpp
67	teglMakeCurrentPerfTests.cpp
68	teglGLES2SharedRenderingPerfTests.hpp
69	teglGLES2SharedRenderingPerfTests.cpp
70	teglPreservingSwapTests.hpp
71	teglPreservingSwapTests.cpp
72	teglClientExtensionTests.hpp
73	teglClientExtensionTests.cpp
74	teglCreateContextExtTests.hpp
75	teglCreateContextExtTests.cpp
76	teglSurfacelessContextTests.hpp
77	teglSurfacelessContextTests.cpp
78	teglSwapBuffersTests.hpp
79	teglSwapBuffersTests.cpp
80	teglNativeColorMappingTests.hpp
81	teglNativeColorMappingTests.cpp
82	teglNativeCoordMappingTests.hpp
83	teglNativeCoordMappingTests.cpp
84	teglResizeTests.hpp
85	teglResizeTests.cpp
86	)
87
88set(DEQP_EGL_LIBS
89	tcutil
90	eglutil
91	referencerenderer
92	${DEQP_EGL_LIBRARIES}
93	)
94
95if (DE_OS_IS_ANDROID)
96	# EGL tests require headers from Android port directory
97	include_directories(${CMAKE_SOURCE_DIR}/framework/platform/android)
98	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} tcutil-platform)
99endif ()
100
101if (DEQP_SUPPORT_GLES2)
102	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} glutil glutil-sglr ${DEQP_GLES2_LIBRARIES})
103endif ()
104
105if (DEQP_SUPPORT_GLES1)
106	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_GLES1_LIBRARIES})
107endif ()
108
109if (DEQP_SUPPORT_VG)
110	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_VG_LIBRARIES})
111endif ()
112
113add_deqp_module(deqp-egl "${DEQP_EGL_SRCS}" "${DEQP_EGL_LIBS}" teglTestPackageEntry.cpp)
114