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