Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: src/core/SkBitmapProcState.cpp

Issue 17381008: More general version of image filtering; reworked to be robust and easier to SSE (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: make temp. scale function private; disable GM and bench for that function Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkBitmapProcState.cpp
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp
index 2a79f2f4902533126c0af5dc31d7504b5b653659..a2c7f990c2d9b19fe5ee238de9eae68757a62c3b 100644
--- a/src/core/SkBitmapProcState.cpp
+++ b/src/core/SkBitmapProcState.cpp
@@ -302,13 +302,13 @@ bool SkBitmapProcState::chooseProcs(const SkMatrix& inv, const SkPaint& paint) {
fShaderProc32 = this->chooseShaderProc32();
}
- // see if our platform has any accelerated overrides
- this->platformProcs();
-
if (NULL == fShaderProc32) {
- fShaderProc32 = this->chooseBicubicFilterProc(paint);
+ fShaderProc32 = this->chooseBitmapFilterProc(paint);
}
+ // see if our platform has any accelerated overrides
+ this->platformProcs();
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698