[Piglit] [PATCH 0/6] tests for EGL_EXT_image_dma_buf_import_modifiers

Varad Gautam varadgautam at gmail.com
Fri Nov 25 09:35:13 UTC 2016


Hello,

This series adds the correctness checks for
EGL_EXT_image_dma_buf_import_modifiers [1]. Specifically, we test for format/
modifier query error conditions and external texture sampling correctness when
using format modifiers.

The corresponding mesa patches implementing the extension are available at [2].
A wip mesa branch with support for importing and sampling the
DRM_FORMAT_NV12/DRM_FORMAT_MOD_SAMSUNG_64_32_TILE format/modifier combination
in the freedreno/a3xx driver is available at [3].

[1] https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt
[2] https://patchwork.freedesktop.org/series/15908/
[3] git://git.collabora.com/git/user/varad/mesa.git a3xx-nv12mt-sampling

Varad Gautam (6):
  image_common: resolve EGL_EXT_image_dma_buf_import_modifiers functions
  sample_common: allow importing dmabufs with format modifiers
  ext_image_dma_buf_import/invalid_attributes: fail on incomplete
    modifiers
  ext_image_dma_buf_import: test for failure with invalid query
    parameters
  ext_image_dma_buf_import: add test frame data to import with modifiers
  ext_image_dma_buf_import: test sampling correctness with format
    modifiers

 tests/all.py                                       |    3 +
 .../ext_image_dma_buf_import/CMakeLists.gles2.txt  |    2 +
 tests/spec/ext_image_dma_buf_import/image_common.c |   59 +
 tests/spec/ext_image_dma_buf_import/image_common.h |   23 +
 .../ext_image_dma_buf_import/invalid_attributes.c  |   55 +
 .../invalid_query_params.c                         |  124 ++
 .../ext_image_dma_buf_import/nv12_frame_data.h     | 1546 ++++++++++++++++++++
 tests/spec/ext_image_dma_buf_import/refcount.c     |    6 +-
 .../spec/ext_image_dma_buf_import/sample_common.c  |   59 +-
 .../spec/ext_image_dma_buf_import/sample_common.h  |    8 +-
 tests/spec/ext_image_dma_buf_import/sample_rgb.c   |    2 +-
 tests/spec/ext_image_dma_buf_import/sample_yuv.c   |    2 +-
 .../sample_yuv_modifiers.c                         |  197 +++
 13 files changed, 2063 insertions(+), 23 deletions(-)
 create mode 100644 tests/spec/ext_image_dma_buf_import/invalid_query_params.c
 create mode 100644 tests/spec/ext_image_dma_buf_import/nv12_frame_data.h
 create mode 100644 tests/spec/ext_image_dma_buf_import/sample_yuv_modifiers.c

-- 
2.6.2



More information about the Piglit mailing list