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