difference between XFillRectangles() and xcb_poly_fill_rectangle()

Goran g at odyss3us.net
Sun Aug 4 23:44:27 UTC 2024


Is this good or bad for X?

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400

Am Freitag, dem 02.08.2024 um 14:54 +0200 schrieb Enrico Weigelt, metux
IT consult:
> On 01.08.24 20:36, Enrico Weigelt, metux IT consult wrote:
> 
> ... answering myself:
>   > Is there something subtle in here that I've overseen ?
> > (something XGC's internal state maybe ?)
> 
> Xlib indeed has a write-back cache for GC attributes, which is
> written
> out by all functions that need (server side) GC.
> 
> Thus, when mixing xlib and xcb, one needs to call XFlushGC() before
> using a (server side) GC that potentially had been changed (locally)
> via Xlib.
> 
> --mtx
> 
> --
> ---
> Hinweis: unverschlüsselte E-Mails können leicht abgehört und
> manipuliert
> werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
> GPG/PGP-Schlüssel zu.
> ---
> Enrico Weigelt, metux IT consult
> Free software and Linux embedded engineering
> info at metux.net -- +49-151-27565287
> 




More information about the xorg-devel mailing list