Bug 93138

Summary: More verbose errors for dmabuf creation.
Product: Mesa Reporter: Lubosz Sarnecki <lubosz>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED MOVED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: enhancement    
Priority: medium    
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: More verbose errors for dmabuf creation.

Description Lubosz Sarnecki 2015-11-27 13:34:46 UTC
Created attachment 120173 [details]
More verbose errors for dmabuf creation.

Using EXT_image_dma_buf_import on i965 can be confusing if you don't look in the code.
The driver always outputs EGL_BAD_MATCH for using multi planar formats. The practice here is to use multiple EGL images per plane and do the color conversion in GLSL.
The same error is given when the fourcc format is unsupported.
This patch gives the application programmer more information about what he is doing wrong, by putting out this information with _mesa_warning().
Comment 1 Matt Turner 2016-10-31 23:58:29 UTC
Thank you. Would you please send the patch to mesa-dev@lists.freedesktop.org for review?
Comment 2 GitLab Migration User 2019-09-25 18:55:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1504.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.