mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Painter MMX expriments, SqlSelect(....) fix
git-svn-id: svn://ultimatepp.org/upp/trunk@793 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f1406a4be0
commit
fa4a158823
4 changed files with 15 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
//#define USE_MMX
|
||||
// #define USE_MMX
|
||||
|
||||
inline RGBA Mul8(const RGBA& s, int mul)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -58,8 +58,10 @@ void BufferPainter::upp_pixfmt::blend_solid_hspan(int x, int y, int len,
|
|||
if(c.a == 0) return;
|
||||
RGBA *t = ptr(x, y);
|
||||
#ifdef USE_MMX
|
||||
AlphaBlendCover((dword *)t, *(dword *)&c, covers, len);
|
||||
return;
|
||||
if(!noaa) {
|
||||
AlphaBlendCover((dword *)t, *(dword *)&c, covers, len);
|
||||
return;
|
||||
}
|
||||
#else
|
||||
RGBA *e = t + len;
|
||||
while(t < e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue