tests: add ext_image_dma_buf_import-tex-modifier
commit34cf4d0ce2ee11ea141ac2caaa0ab2d4d55d77eb
authorQiang Yu <yuq825@gmail.com>
Wed, 23 Oct 2024 08:28:39 +0000 (23 16:28 +0800)
committerMarek Olšák <maraeo@gmail.com>
Wed, 20 Nov 2024 11:47:47 +0000 (20 11:47 +0000)
tree1271e5453488ef3d784739481e8a23e19d985657
parentd04d6fff00849a2a8e29ef3251c6ca04a2f68dc7
tests: add ext_image_dma_buf_import-tex-modifier

Verfify texture modifier exported by eglExportDMABUFImageQueryMESA()
are in the supported modifier list queried by eglQueryDmaBufModifiersEXT().

Driver may use different modifier for different texture format and size. This
test make sure we don't miss any of them in the supported modifier list.

Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/965>
tests/opengl.py
tests/spec/ext_image_dma_buf_import/CMakeLists.gles2.txt
tests/spec/ext_image_dma_buf_import/tex-modifier.c [new file with mode: 0644]