[Mesa-dev] [Bug 90821] Segfault when calling glViewport on surfaceless EGL context without bound FBO
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 6 01:07:11 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90821
Philip Derrin <philip+freedesktop at breakawayconsulting.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |philip+freedesktop at breakawa
| |yconsulting.com.au
--- Comment #4 from Philip Derrin <philip+freedesktop at breakawayconsulting.com.au> ---
I encountered this too, on i965.
It happens because intel_viewport calls _mesa_is_winsys_fbo to determine
whether the draw buffer has an associated DRI2 drawable, but that predicate
returns true for the global IncompleteFramebuffer which is used by surfaceless
contexts, which obviously has no DRI2 drawable. A null pointer check in
intel_viewport fixes it.
The i915 driver looks like it has the same problem (in
intel_invalidate_viewport), though I haven't tested it.
--
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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150706/4a314ed5/attachment.html>
More information about the mesa-dev
mailing list