[Mesa-dev] [Bug 98310] GLES context returned by OpenGL API
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 18 15:01:51 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98310
Bug ID: 98310
Summary: GLES context returned by OpenGL API
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: EGL
Assignee: mesa-dev at lists.freedesktop.org
Reporter: manday at openmail.cc
QA Contact: mesa-dev at lists.freedesktop.org
The ultimate consequence of this bug is that EPoxy thinks that the current
context is OpenGL, although it is GLES2. It reports this up to GTK/GDK which
then abandones GLES2 rendering (because it thinks OpenGL is being used).
EPoxy tests whether the current context is OpenGL by
epoxy_egl_get_current_gl_context_api( )
in two steps, by first binding the API which is being tested for:
eglBindAPI( EGL_OPENGL_API );
and subsequently testing for a context
if( eglGetCurrentContext( ) ) ...
I don't know whether this is actually a proper way of testing this (or why this
is required by further up in the first place), but I can definitely say I do
NOT have OpenGL (simply because of the lack of X11 libraries and I built Mesa
only with GLES2) but that call, after the OPENGL_API was bound, returns a
context. Which in turn makes Epoxy think that the context is OpenGL.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161018/0f09ff6b/attachment.html>
More information about the mesa-dev
mailing list