Caching for X11DRV_SetImageBits?

2005-10-22 Thread Michael Carlson
Let me start off with an introduction. I'm a veteran C programmer, but I'm unfamiliar with programming X11 and unfamiliar with wine, although I've been looking into both recently to correct a problem I'm having with wine. I posted about the same problem in August on the same mailing list, about mak

Re: Const Function Parameters?

2005-07-27 Thread Michael Carlson
On 7/26/05, Troy Rollo <[EMAIL PROTECTED]> wrote: > On Wed, 27 Jul 2005 09:25, Felix Nawothnig wrote: > > There is no need to make anything except the pointers const - I don't > > think I've ever seen that in real world code. In theory this would give > > the compiler slightly more information... b

Const Function Parameters?

2005-07-26 Thread Michael Carlson
I've been doing some oprofille tests with wine running fce ultra, the 8-bit Nintendo emulator. I found that when running a rom for 60 seconds, more than 99% of the CPU utilization for winex11drv (which uses the most of all components of wine in this case) is in the same function : convert_888_to_08