equal
deleted
inserted
replaced
512 { |
512 { |
513 TUint32 dstColor = *dst; |
513 TUint32 dstColor = *dst; |
514 TUint32 srcColor = *(TUint32*)colorAddr; |
514 TUint32 srcColor = *(TUint32*)colorAddr; |
515 |
515 |
516 TUint32 mask = (TUint32)(((TInt32)srcColor) >> 24); // Sign extend down. |
516 TUint32 mask = (TUint32)(((TInt32)srcColor) >> 24); // Sign extend down. |
517 ASSERT(mask == 0 || mask == (TUint32)-1); |
|
518 |
517 |
519 #ifdef RD_JAVA_NGA_ENABLED |
518 #ifdef RD_JAVA_NGA_ENABLED |
520 if (mask) |
519 if (mask == (TUint32)-1) |
521 { |
520 { |
522 // Note that the target is not always opaque anymore |
521 // Note that the target is not always opaque anymore |
523 dstColor = srcColor; |
522 dstColor = srcColor; |
524 } |
523 } |
525 #else // !RD_JAVA_NGA_ENABLED |
524 #else // !RD_JAVA_NGA_ENABLED |