[Differential] [Request, 37 lines] D1247: [server] Add a convenient method to check whether a Surface is mapped

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue Mar 29 10:08:15 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.

REVISION SUMMARY
  In a SubSurface tree a Surface is only considered mapped if the Surface
  has a buffer applied and the parent Surface is mapped.
  
  The added method implements this check. It's useful for the compositor
  to easily check this condition as it allows to easily figure out whether
  a SubSurface needs to be rendered and it's also useful for implementing
  the input handling as a not mapped sub-surface should not get any input
  events.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  surface-interface-is-mapped

REVISION DETAIL
  https://phabricator.kde.org/D1247

AFFECTED FILES
  autotests/client/test_wayland_subsurface.cpp
  autotests/client/test_wayland_surface.cpp
  src/server/surface_interface.cpp
  src/server/surface_interface.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma
Cc: plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160329/7432df6c/attachment-0001.html>


More information about the Plasma-devel mailing list