[2/2] EGL_EXT_image_dma_buf_import: add fbo option to yuv formats with alpha channel

Submitted by Lionel Landwerlin on Nov. 13, 2018, 2:40 p.m.

Details

Message ID 20181113144048.2530-2-lionel.g.landwerlin@intel.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Lionel Landwerlin Nov. 13, 2018, 2:40 p.m.
Depending on the platform you're running on, the test might fail with
the AYUV format. To make this reliable, force to render to fbo.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
---
 tests/opengl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/tests/opengl.py b/tests/opengl.py
index 8957de6e2..7c96e9412 100644
--- a/tests/opengl.py
+++ b/tests/opengl.py
@@ -3027,7 +3027,7 @@  with profile.test_list.group_manager(
       'ext_image_dma_buf_import-sample_yuv420', run_concurrent=False)
     g(['ext_image_dma_buf_import-sample_yuv', '-fmt=YV12'],
       'ext_image_dma_buf_import-sample_yvu420', run_concurrent=False)
-    g(['ext_image_dma_buf_import-sample_yuv', '-fmt=AYUV'],
+    g(['ext_image_dma_buf_import-sample_yuv', '-fmt=AYUV', '-fbo'],
       'ext_image_dma_buf_import-sample_ayuv', run_concurrent=False)
     g(['ext_image_dma_buf_import-transcode-nv12-as-r8-gr88'],
       'ext_image_dma_buf_import-transcode-nv12-as-r8-gr88',

Comments

Lionel Landwerlin <lionel.g.landwerlin@intel.com> writes:

> Depending on the platform you're running on, the test might fail with
> the AYUV format. To make this reliable, force to render to fbo.

While more fbo tests are good, I think you're missing

config.window_visual = PIGLIT_GL_VISUAL_RGBA;

in sample_yuv.c