Another fix to r3423, reinstate blitter code that was commented out for

testing and apparently isn't exercised by any of our GMs or tests.



git-svn-id: http://skia.googlecode.com/svn/trunk@3427 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
tomhudson@google.com 2012-03-19 15:27:13 +00:00
Родитель 0da3719050
Коммит 57e080c1eb
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -214,14 +214,14 @@ void SkARGB32_Blitter::blitRect(int x, int y, int width, int height) {
uint32_t color = fPMColor;
size_t rowBytes = fDevice.rowBytes();
//if (255 == SkGetPackedA32(color)) {
if (255 == SkGetPackedA32(color)) {
fColorRect32Proc(device, width, height, rowBytes, color);
//} else {
//while (--height >= 0) {
//fColor32Proc(device, device, width, color);
//device = (uint32_t*)((char*)device + rowBytes);
//}
//}
} else {
while (--height >= 0) {
fColor32Proc(device, device, width, color);
device = (uint32_t*)((char*)device + rowBytes);
}
}
}
#if defined _WIN32 && _MSC_VER >= 1300