[Mesa-dev] [Bug 34042] New: Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 8 08:28:52 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34042
Summary: Surfaceless eglMakeCurrent() fails if the supplied
EGLContext is not a dummy context
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: alexandros.frantzis at linaro.org
Created an attachment (id=43116)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43116)
Example exhibiting the issue
In a EGL implementation that supports EGL_KHR_surfaceless_opengl, making an
EGLContext current without any surfaces works only if the supplied EGLContext
is a "dummy" one (see the example).
Running the example on my system (r600g but EGL_SOFTWARE=1 results are the
same) I get:
$ MESA_DEBUG=1 ./egl-surfaceless
EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_reusable_sync
EGL_KHR_fence_sync EGL_KHR_surfaceless_gles1 EGL_KHR_surfaceless_gles2
EGL_KHR_surfaceless_opengl
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
eglMakeCurrent Dummy Succeeded: 0x3000
Mesa warning: MakeCurrent: incompatible visuals for context and drawbuffer
eglMakeCurrent Normal Failed: 0x3000
It is strange that although the second eglMakeCurrent fails, the eglError()
returns EGL_SUCCESS (0x3000).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list