[PATCH] wip: per-pixel surface picking

Daniel Stone daniel at fooishbar.org
Thu Feb 9 16:56:06 PST 2012


On 10 February 2012 00:41, Bill Spitzak <spitzak at gmail.com> wrote:
> You are probably right that the round-trip would be bad.
> Can it just use the transparency of the current buffer, rather than other
> information that needs to be transmitted from the client?
> Another possibility is that the api is simplified to *one* rectangle, and
> the client says "anything inside this rectangle is mine, anything outside
> you should check the transparency". That would allow it to skip the
> transparency check for the majority of clients but keep the api minimal.

The rectangle would deal with the majority of cases, but to be honest
there's very little difference between providing one and many
rectangles -- aside from more-than-one disqualifying you from overlay
usage -- so definitely better to do that I think.


More information about the wayland-devel mailing list