Re: XDrawRectangle workaround
Sander Jansen <[email protected]> Wed, 3 May 2023 15:34:13 -0500
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <CACj81kHDyi=F=qRMkPKrhVNaZr5HWA9-8qxLH4euw8GQwpnEAQ@mail.gmail.com> |
I noticed it on my newish system with TigerLake-LP GT2 [Iris Xe Graphics]. Sander On Wed, May 3, 2023 at 2:40 PM <[email protected]> wrote: > On 2023-05-03 14:23, Sander Jansen wrote: > > uhmm, it only sets it to 1 if the current value is 0, right? > > True, but you'd still be switching it back and forth a LOT. > Since it is apparent that there is no difference between 0 [lines > at thin as possible, which means 1 pixel], and 1 [1 pixel], > why then not simply initialize to 1 to begin with, and > never switch it unless we explictly call setLineWidth() ? > > It saves a lot of I/O to server, even if it were smart > enough to "compress" repeated GC attribute changes with > no drawing calls in between them... > > Is it only the old Intel GPU that has the issue? Because > I don't remember seeing the problem on 530- and 630-series > Intel or "IRIS Pro" graphics GPUs.. > > > > -- JVZ > _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users