https://bugs.freedesktop.org/show_bug.cgi?id=32285
Summary: Check OpenGL and OpenGL ES2.0 renderer info in one process Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Mesa core AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: jammy.z...@linaro.org Created an attachment (id=40977) --> (https://bugs.freedesktop.org/attachment.cgi?id=40977) test case for get GL and GLES2 renderer in one process Currently I am doing some experiments with mesa to check the renderer info of underlying OpenGL and OpenGL ES2.0 drivers to decide which driver to use at runtime. With my code attached, the renderer info for GLES2 can be got successfully, and although the EGL and GLES2 libraries are unloaded before creating the GLX context, glGetString(GL_RENDERER) for OpenGL still returns NULL. After enable MESA_DEBUG, I found the error message "GL User Error: calling GL function without a rendering context", and many warnings as "Mesa warning: failed to remap ....". I also changed the sequence for GL and GLES2, but got similar results. If do separately, both renderer info can be got successfully. And with the commit 16ee7a55ae269612263468195f2af998cb9ef695, the problem is still there. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev