Jeremy Meredith wrote:
>
> Although this is in reference to 3.0, I mention it because I don't
> remember it being better in 3.1b3, and because not too many people are
> probably running Mesa remotely over ssh to an 8-bit display so this may
> have gone unnoticed.
>
> In noFaultXAllocColor in xmesa1.c, ctable is not being cached. When
> running remotely over ssh to a pseudocolor display, calling XQueryColors
> hundreds of times is SLOW -- it can take over 20 seconds for
> initialization of the window/context. If I cache it, it takes less than 2
> seconds for the whole process. Unfortunately, we do a lot of ssh-ing from
> 8-bit displays here, so it would be nice if this were fixed.
>
> Of course, it may be fixed already, but I did want to mention it. Thanks!
OK, I've checked in a change to cache the table. I haven't
tested remote display via ssh so you'll have to try it yourself
to be sure there's an improvement.
The change is in both the 3.1/3.2 and 3.3 branches.
-Brian
_______________________________________________
Mesa-bug maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev