Home | History | Annotate | Download | only in egl
      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 	teglNegativeApiTests.cpp
     43 	teglNegativeApiTests.hpp
     44 	teglPartialUpdateTests.cpp
     45 	teglPartialUpdateTests.hpp
     46 	teglNegativePartialUpdateTests.cpp
     47 	teglNegativePartialUpdateTests.hpp
     48 	teglRenderCase.cpp
     49 	teglRenderCase.hpp
     50 	teglRenderTests.cpp
     51 	teglRenderTests.hpp
     52 	teglSimpleConfigCase.cpp
     53 	teglSimpleConfigCase.hpp
     54 	teglTestCase.cpp
     55 	teglTestCase.hpp
     56 	teglTestPackage.cpp
     57 	teglTestPackage.hpp
     58 	teglVGRenderUtil.cpp
     59 	teglVGRenderUtil.hpp
     60 	teglImageFormatTests.hpp
     61 	teglImageFormatTests.cpp
     62 	teglGLES2SharingTests.hpp
     63 	teglGLES2SharingTests.cpp
     64 	teglGLES2SharingThreadedTests.hpp
     65 	teglGLES2SharingThreadedTests.cpp
     66 	teglSyncTests.hpp
     67 	teglSyncTests.cpp
     68 	teglMultiThreadTests.hpp
     69 	teglMultiThreadTests.cpp
     70 	teglMemoryStressTests.hpp
     71 	teglMemoryStressTests.cpp
     72 	teglMakeCurrentPerfTests.hpp
     73 	teglMakeCurrentPerfTests.cpp
     74 	teglGLES2SharedRenderingPerfTests.hpp
     75 	teglGLES2SharedRenderingPerfTests.cpp
     76 	teglPreservingSwapTests.hpp
     77 	teglPreservingSwapTests.cpp
     78 	teglClientExtensionTests.hpp
     79 	teglClientExtensionTests.cpp
     80 	teglCreateContextExtTests.hpp
     81 	teglCreateContextExtTests.cpp
     82 	teglSurfacelessContextTests.hpp
     83 	teglSurfacelessContextTests.cpp
     84 	teglSwapBuffersTests.hpp
     85 	teglSwapBuffersTests.cpp
     86 	teglNativeColorMappingTests.hpp
     87 	teglNativeColorMappingTests.cpp
     88 	teglNativeCoordMappingTests.hpp
     89 	teglNativeCoordMappingTests.cpp
     90 	teglResizeTests.hpp
     91 	teglResizeTests.cpp
     92 	teglSwapBuffersWithDamageTests.hpp
     93 	teglSwapBuffersWithDamageTests.cpp
     94 	teglMultiContextTests.hpp
     95 	teglMultiContextTests.cpp
     96 	)
     97 
     98 set(DEQP_EGL_LIBS
     99 	tcutil
    100 	eglutil
    101 	referencerenderer
    102 	${DEQP_EGL_LIBRARIES}
    103 	)
    104 
    105 if (DE_OS_IS_ANDROID)
    106 	# EGL tests require headers from Android port directory
    107 	include_directories(${CMAKE_SOURCE_DIR}/framework/platform/android)
    108 	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} tcutil-platform)
    109 endif ()
    110 
    111 if (DEQP_SUPPORT_GLES2)
    112 	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} glutil glutil-sglr ${DEQP_GLES2_LIBRARIES})
    113 endif ()
    114 
    115 if (DEQP_SUPPORT_GLES1)
    116 	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_GLES1_LIBRARIES})
    117 endif ()
    118 
    119 if (DEQP_SUPPORT_VG)
    120 	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_VG_LIBRARIES})
    121 endif ()
    122 
    123 add_deqp_module(deqp-egl "${DEQP_EGL_SRCS}" "${DEQP_EGL_LIBS}" teglTestPackageEntry.cpp)
    124