On Thu, Feb 21, 2008 at 10:16 PM, Jonathan Kinsey
<address@hidden> wrote:
Christian Anthon wrote:
> Hi All,
> c1) clicking on the 3dboard doesn't always work, especially bad under
> vista with radeon mobility graphic cards, but I'm suffering from the
> same problem under Linux. The problem is that the pieces are redrawn
> to check if they have been clicked and that takes up to 1sec under
> windows vista with aforementioned cards. I'm not sure if it's needed
> to redraw the pieces, seems to work fine without.
The screen isn't redrawn, a simplified scene is rendered off screen to detect
what was clicked. That being said it does use the same display list for the
pieces, a slightly less accurate "piece" could be drawn which would be quicker,
the reason I didn't bother is because this off screen "drawing" is very quick.
The fact it occasionally takes a long time to do this is likely a problem with
the graphics driver, but maybe there is something that could be done in the
code. It's difficult for me to try anything as I don't get the problem, maybe
when I get a machine with Vista on it I might be able to reproduce it.
Yeah, I'm guessing that it's a driver issue as well. In particular as
it happens under both vista and linux with the same card (vista being
far the worst). If I comment out the lines 2262-2269 in drawboard3d.c
everything is working fine as far as I can tell.