[Mesa-dev] [Bug 98345] dEQP EGL: negative test failed w/ invalid return

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 25 05:00:28 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98345

Tapani Pälli <lemody at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Tapani Pälli <lemody at gmail.com> ---
commit 282b87dd03317ff39eb409b0ac2cbdc17d7e5aa3
Author: Tapani Pälli <tapani.palli at intel.com>
Date:   Thu Oct 20 13:51:40 2016 +0300

    egl: fix type mismatch error type in _eglInitSurface

    EGL spec defines EGL_BAD_MATCH for windows, pixmaps and pbuffers in
    case where user creates a surface but config does not support rendering
    to such surface type.

    Following quotes are from EGL 1.5 spec 3.5 "Rendering Surfaces" :

    for eglCreatePlatformWindowSurface, eglCreateWindowSurface:

       "If config does not support rendering to windows (the EGL_SURFACE_TYPE
       attribute does not contain EGL_WINDOW_BIT ), an EGL_BAD_MATCH error is
       generated."

    for eglCreatePbufferSurface:

       "If config does not support pbuffers, an EGL_BAD_MATCH error is
       generated."

    for eglCreatePlatformPixmapSurface, eglCreatePixmapSurface:

       "If config does not support rendering to pixmaps (the EGL_SURFACE_TYPE
       attribute does not contain EGL_PIXMAP_BIT ), an EGL_BAD_MATCH error is
       generated."

    Fixes following dEQP test:

       dEQP-EGL.functional.negative_api.create_pbuffer_surface

    Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161025/4011c7fa/attachment.html>


More information about the mesa-dev mailing list