[PATCH] dri2: invalidate drawable after sharing pixmap
chris at chris-wilson.co.uk
Thu Sep 6 03:53:39 PDT 2012
On Thu, 6 Sep 2012 16:35:39 +1000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> After we share the pixmap, the backing storage may have changed,
> and we need to invalidate and buffers pointing at it.
> This fixes GL compositors and prime windows lacking contents initially.
After a quick chat with Dave on irc, this is the simplest patch to make
prime work in the short term. Being able to notify DRI2 clients that the
backing buffer has been replaced would be useful as it a current hindrance
in the drivers.
I would have personally renamed the functions to avoid adding the
superlative, nevertheless :-)
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Chris Wilson, Intel Open Source Technology Centre
More information about the xorg-devel