[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nel] emms
From: |
lionel berenguier |
Subject: |
Re: [Nel] emms |
Date: |
Wed, 19 Nov 2003 10:35:16 -0800 |
Hi Ben!
This is not an error, see the method doc:
* WARNING: this code use MMX when possible, but doesn't call emms!!! It is
User job to do it.
This is because this method works on a single pixel (not the case of
convert???Bitmap() methods), and is called very often. So the client has to
work on many pixel, then call emms.
Lionel.
----- Original Message -----
From: "Ben Woodhead" <address@hidden>
To: "Developer's list for the NeL platform" <address@hidden>
Sent: Tuesday, November 18, 2003 3:12 PM
Subject: [Nel] emms
> Hello Everybody.
>
> I was just looking at the this function listed below and I noticed that
> there is no emms at the end of the asm.
>
> uint16 CFastHLSModifier::applyHLSMod(uint16 colorIn, uint8 dHue, uint
dLum,
> uint dSat)
>
> After this statement is were it should be.
>
> mov retVal, ax
>
> emms
>
> Ben