зеркало из https://github.com/mozilla/moz-skia.git
disable perspective-no-filter until we can fix the out-of-range indices
git-svn-id: http://skia.googlecode.com/svn/trunk@372 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
f2afb67bab
Коммит
725005e1d0
|
@ -286,6 +286,8 @@ static void PERSP_NOFILTER_NAME(const SkBitmapProcState& s,
|
|||
|
||||
while ((count = iter.next()) != 0) {
|
||||
const SkFixed* SK_RESTRICT srcXY = iter.getXY();
|
||||
#if 0
|
||||
// crashes in ApiDemos - Views - Animation - 3D Transition
|
||||
|
||||
/* srcXY is a batch of 32 bit numbers X0,Y0,X1,Y1...
|
||||
* but we immediately discard the low 16 bits...
|
||||
|
@ -372,7 +374,7 @@ static void PERSP_NOFILTER_NAME(const SkBitmapProcState& s,
|
|||
srcXY = (const SkFixed *) mysrc;
|
||||
xy = (uint32_t *) mydst;
|
||||
}
|
||||
|
||||
#endif
|
||||
while (--count >= 0) {
|
||||
*xy++ = (TILEY_PROCF(srcXY[1], maxY) << 16) |
|
||||
TILEX_PROCF(srcXY[0], maxX);
|
||||
|
|
Загрузка…
Ссылка в новой задаче