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