1 #add_definitions(-DSOURCE_DIR="${piglit_SOURCE_DIR}/")
12 # These tests rely on drm and are hence compiled only on linux/drm platforms
13 if(PIGLIT_BUILD_DMA_BUF_TESTS)
14 add_definitions(-DHAVE_LIBDRM)
17 ${LIBDRM_INCLUDE_DIRS}
20 piglit_add_executable(ext_image_dma_buf_import-invalid_hints invalid_hints.c image_common.c)
21 piglit_add_executable(ext_image_dma_buf_import-invalid_attributes invalid_attributes.c image_common.c)
22 piglit_add_executable(ext_image_dma_buf_import-missing_attributes missing_attributes.c image_common.c)
23 piglit_add_executable(ext_image_dma_buf_import-ownership_transfer ownership_transfer.c image_common.c)
24 piglit_add_executable(ext_image_dma_buf_import-unsupported_format unsupported_format.c image_common.c)
25 piglit_add_executable(ext_image_dma_buf_import-intel_external_sampler_only intel_external_sampler_only.c image_common.c)