[PATCH] dri2: Send out event when auxillary buffers are invalidated

Kristian Høgsberg krh at bitplanet.net
Thu May 13 06:15:54 PDT 2010


2010/5/11 Adam Jackson <ajax at nwnk.net>:
> On Tue, 2010-05-11 at 12:15 -0400, Kristian Høgsberg wrote:
>> 2010/5/11 Adam Jackson <ajax at nwnk.net>:
>> > Is ConfigNotify sufficient for this?  I think it'll miss subwindows.
>> > The ConfigNotify chain looks like it only fires from ConfigureWindow(),
>> > which is not itself recursive to children.  I think you may want
>> > ResizeWindow instead.
>>
>> What do you want to do for subwindows?  It doesn't matter if they get
>> resized, we only care about the size of the DRI2 window, which is what
>> determines the size of the aux buffers.
>
> Ah, got it.  You don't care about being clipped to parent for DRI2
> subwindows, because your buffers are always full-sized.  My brain is
> still damaged by DRI1.
>
> Given that,
>
> Reviewed-by: Adam Jackson <ajax at redhat.com>

Yup, the aux buffers are always the size of the window they correspond
to and all clipping happens in the X server when we copy back to front
in DRI2.

Thanks for reviewing,
Kristian


More information about the xorg-devel mailing list