[Wayland-bugs] [Bug 68378] New: subsurfaces demo should call eglMakeCurrent for triangle subsurface
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 21 04:29:05 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=68378
Priority: medium
Bug ID: 68378
Assignee: wayland-bugs at lists.freedesktop.org
Summary: subsurfaces demo should call eglMakeCurrent for
triangle subsurface
Severity: normal
Classification: Unclassified
OS: All
Reporter: sheffmail at mail.ru
Hardware: Other
Status: NEW
Version: 1.0.x
Component: weston
Product: Wayland
When using cairo-gl non-triangle subsurface rendering code implicitly calls
eglMakeCurrent(dpy, NULL, NULL, ctx) (since EGL_KHR_surfaceless_context is
used), thus, triangle_frame_callback:eglSwapBuffers returns EGL_BAD_SURFACE
error for all invocations other that the first one.
Workaround:
Add eglMakeCurrent(tri->egl->dpy, tri->egl_surface, tri->egl_surface,
tri->egl->ctx) before glViewport(0, 0, tri->width, tri->height) in
triangle_frame_callback
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130821/59fb0658/attachment.html>
More information about the Wayland-bugs
mailing list