[PATCH xserver] Pass ClientPtr to FlushCallback
Michel Dänzer
michel at daenzer.net
Wed Aug 3 08:43:11 UTC 2016
On 03.08.2016 01:12, Keith Packard wrote:
> Michel Dänzer <michel at daenzer.net> writes:
>
>> 2. By passing the ClientPtr to FlushCallbacks, drivers can completely
>> eliminate unnecessary flushing of GPU commands by keeping track of
>> whether we're flushing any XDamageNotify events to the client for
>> which the corresponding rendering commands haven't been flushed to
>> the GPU yet.
>
> Is this something we should be doing in either glamor or DIX itself?
I'm afraid that's not feasible: An additional optimization will be to
never flush for clients which aren't sharing any buffers with the server
via DRI. Only the driver can keep track of that.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160803/71829637/attachment.sig>
More information about the xorg-devel
mailing list