зеркало из https://github.com/mozilla/moz-skia.git
remove SK_IGNORE_IMAGE_PRESCALE flag (no longer used)
git-svn-id: http://skia.googlecode.com/svn/trunk@11153 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
ef0e3190d3
Коммит
beba935f65
|
@ -290,7 +290,6 @@ bool SkBitmapProcState::chooseProcs(const SkMatrix& inv, const SkPaint& paint) {
|
||||||
|
|
||||||
fFilterLevel = paint.getFilterLevel();
|
fFilterLevel = paint.getFilterLevel();
|
||||||
|
|
||||||
#ifndef SK_IGNORE_IMAGE_PRESCALE
|
|
||||||
// possiblyScaleImage will look to see if it can rescale the image as a
|
// possiblyScaleImage will look to see if it can rescale the image as a
|
||||||
// preprocess; either by scaling up to the target size, or by selecting
|
// preprocess; either by scaling up to the target size, or by selecting
|
||||||
// a nearby mipmap level. If it does, it will adjust the working
|
// a nearby mipmap level. If it does, it will adjust the working
|
||||||
|
@ -298,7 +297,6 @@ bool SkBitmapProcState::chooseProcs(const SkMatrix& inv, const SkPaint& paint) {
|
||||||
// quality to avoid re-filtering an already perfectly scaled image.
|
// quality to avoid re-filtering an already perfectly scaled image.
|
||||||
|
|
||||||
this->possiblyScaleImage();
|
this->possiblyScaleImage();
|
||||||
#endif
|
|
||||||
|
|
||||||
bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0;
|
bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0;
|
||||||
bool clampClamp = SkShader::kClamp_TileMode == fTileModeX &&
|
bool clampClamp = SkShader::kClamp_TileMode == fTileModeX &&
|
||||||
|
|
Загрузка…
Ссылка в новой задаче