[Wayland-bugs] [Bug 72854] Weston-subsurfaces Flicker on window resize
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 9 15:03:32 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=72854
Kristian Høgsberg <krh at bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Kristian Høgsberg <krh at bitplanet.net> ---
commit e4fdcf3e79acd688bd47f5e7a96217f324e31988
Author: Neil Roberts <neil at linux.intel.com>
Date: Thu Dec 19 16:17:12 2013 +0000
westoy: Add an option to explicitly disable cairo on a widget
The subsurfaces example creates a subsurface widget and uses EGL to
render to it directly rather than using the cairo context from the
widget. In theory this shouldn't cause any problems because the westoy
window code lazily creates the cairo surface when an application
creates a cairo context. However commit fdca95c7 changed the behaviour
to force the lazy creation at the beginning of each surface redraw.
This ends up making the triangle surface get two attaches – one from
Cairo and one from the direct EGL.
It looks like it would be difficult to reinstate the lazy surface
creation behaviour whilst still maintaining the error handling for
surface creation because none of the redraw handlers in the example
clients are designed to cope with that. Instead, this patch adds an
explicit option on a widget to disable creating the Cairo surface and
the subsurface example now uses that.
--
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/20140109/54f204fe/attachment.html>
More information about the Wayland-bugs
mailing list