[Piglit] [v9 12/13] tests/spec: EXT_image_dma_buf_import intel dma-buf with img-ext only

Chad Versace chad.versace at linux.intel.com
Mon Aug 19 11:38:36 PDT 2013


On 08/09/2013 03:43 AM, Topi Pohjolainen wrote:
> v2 (Chad):
>     - be more specific: rename try_as_non_external_texture() as
>       try_as_texture_2d()
>     - skip the test if EGL stack does not support the chosen format
>     - add dependency to 'EGL_KHR_image_base'
>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>   tests/all.tests                                    |   1 +
>   .../ext_image_dma_buf_import/CMakeLists.gles1.txt  |   1 +
>   .../intel_external_sampler_only.c                  | 152 +++++++++++++++++++++
>   3 files changed, 154 insertions(+)
>   create mode 100644 tests/spec/ext_image_dma_buf_import/intel_external_sampler_only.c
>


> +/**
> + * @file intel_external_sampler_only.c
> + *
> + * Intel driver does not allow imported dma-buffers to be rendered but to be
> + * read only. In addition the driver allows the buffers to be sampled onyl using
                                                                          ^^^^
                                                                          only



> +void
> +piglit_init(int argc, char **argv)
> +{
> +	static const char intel_id[] = "Intel Open Source Technology Center";

Eventually, we should put the logic of determining the driver's vendor into core
piglit, into piglit-util*.c. But, using hand-rolled code here in piglit_init()
is good for now.


With the small typo fixed, this is
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the Piglit mailing list