[PATCH weston] compositor: automatically set opaque region for color formats

Daniel Stone daniel at fooishbar.org
Wed Sep 5 13:05:38 PDT 2012


On 5 September 2012 20:49, Bill Spitzak <spitzak at gmail.com> wrote:
> Doesn't the compositor have access to what type the surfaces are? It can
> then know the surface is opaque and ignore the opaque region there. Then if
> the client changes back to a non-opaque surface the opaque region is
> unchanged and starts being used again.
>
> I would expect this to be slightly more efficient because the compositor
> will also know that the opaque region is exactly equal to the surface area.

... yeah, that's literally exactly what this patch does.


More information about the wayland-devel mailing list