[Wayland-bugs] [Bug 696805] New: GtkWindow should set the opaque region for the content window when possible

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 28 11:58:43 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=696805
  gtk+ | wayland | unspecified

           Summary: GtkWindow should set the opaque region for the content
                    window when possible
    Classification: Platform
           Product: gtk+
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: wayland
        AssignedTo: gtk-bugs at gtk.org
        ReportedBy: krh at bitplanet.net
         QAContact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---


The wayland protocol lets clients set a surface region to indicate that that
region contains all opaque pixels.  The idea is that in the common case, most
apps have rounded corners and drop shadows, but in the center is a big opaque
rectangle.  If the compositor knows about that region, it can optimize
rendering to not paint surfaces below the opaque region and turn off blending.

In the general case, this may be expensive to compute and there's also the
discussion of how fine-grained the region should be vs how many opaque pixels
it covers.

For the typical window, there will be a big opaque rectangle in the middle that
we can communicate to the compositor.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list