зеркало из https://github.com/mozilla/moz-skia.git
update
git-svn-id: http://skia.googlecode.com/svn/trunk@1232 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
acd471f47c
Коммит
75595d9392
|
@ -14,6 +14,11 @@ static void test_premul(skiatest::Reporter* reporter) {
|
|||
// we can't promise that c0 == c1, since c0 -> p0 is a many to one
|
||||
// function, however, we can promise that p0 -> c1 -> p1 : p0 == p1
|
||||
REPORTER_ASSERT(reporter, p0 == p1);
|
||||
|
||||
{
|
||||
int ax = SkMulDiv255Ceiling(x, a);
|
||||
REPORTER_ASSERT(reporter, ax <= a);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче