зеркало из https://github.com/mozilla/moz-skia.git
remove dead code
git-svn-id: http://skia.googlecode.com/svn/trunk@1447 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
ae85aea58e
Коммит
5a1e79595f
|
@ -148,13 +148,6 @@ void SuperBlitter::blitH(int x, int y, int width) {
|
||||||
// hit 256 as a summed max, but 255.
|
// hit 256 as a summed max, but 255.
|
||||||
// int maxValue = (1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT);
|
// int maxValue = (1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT);
|
||||||
|
|
||||||
#if 0
|
|
||||||
SkAntiRun<SHIFT> arun;
|
|
||||||
arun.set(x, x + width);
|
|
||||||
fRuns.add(x >> SHIFT, arun.getStartAlpha(), arun.getMiddleCount(),
|
|
||||||
arun.getStopAlpha(), maxValue);
|
|
||||||
#else
|
|
||||||
{
|
|
||||||
int start = x;
|
int start = x;
|
||||||
int stop = x + width;
|
int stop = x + width;
|
||||||
|
|
||||||
|
@ -176,8 +169,6 @@ void SuperBlitter::blitH(int x, int y, int width) {
|
||||||
}
|
}
|
||||||
fRuns.add(x >> SHIFT, coverage_to_alpha(fb), n, coverage_to_alpha(fe),
|
fRuns.add(x >> SHIFT, coverage_to_alpha(fb), n, coverage_to_alpha(fe),
|
||||||
(1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT));
|
(1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT));
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SK_DEBUG
|
#ifdef SK_DEBUG
|
||||||
fRuns.assertValid(y & MASK, (1 << (8 - SHIFT)));
|
fRuns.assertValid(y & MASK, (1 << (8 - SHIFT)));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче